SumInterface.clone constructor

  1. @Deprecated('Use Instance-based `clone()` instead.')
SumInterface.clone(
  1. SumInterface other
)

Creates a clone of this SumInterface for things like pairConnectIO.

Implementation

@Deprecated('Use Instance-based `clone()` instead.')
SumInterface.clone(SumInterface other)
    : this(
        fixedAmount: other.fixedAmount,
        increments: other.increments,
        width: other.width,
        hasEnable: other.hasEnable,
      );