clone method
- 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
CacheTransactionEviction<T, M, C> clone({String? name}) =>
CacheTransactionEviction<T, M, C>(
addrWidth: address.width,
tokenWidth: token.width,
causeWidth: cause.width,
dataSchema: data,
lineMetadataSchema: lineMetadata,
contextSchema: context,
name: name ?? this.name,
);