clone method

  1. @override
StorageLdpcDecodeResult clone({
  1. String? name,
})
override

Creates a new LogicStructure with the same structure as this and cloned elements, optionally with the provided name.

It is expected that any implementation will override this in a way that returns the same type as itself.

Implementation

@override
StorageLdpcDecodeResult clone({String? name}) =>
    StorageLdpcDecodeResult._clone(
      this,
      requestIdWidth: requestIdWidth,
      blockAddressWidth: blockAddressWidth,
      messageWidth: messageWidth,
      codewordWidth: codewordWidth,
      syndromeWidth: syndromeWidth,
      retryLevelWidth: retryLevelWidth,
      iterationWidth: iterationWidth,
      name: name ?? this.name,
    );