clone method

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

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

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

Implementation

@override
LogicArray clone({String? name}) => LogicArray(dimensions, elementWidth,
    numUnpackedDimensions: numUnpackedDimensions, name: name ?? this.name);