clone method

  1. @override
  2. @mustBeOverridden
LogicArray clone({
  1. String? name,
})
override

Creates a new LogicArray which has the same dimensions, elementWidth, numUnpackedDimensions, and isNet as this.

If no new name is specified, then it will also have the same name.

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

Implementation

@override
@mustBeOverridden
LogicArray clone({String? name}) => _clone(name: name);