clone method

  1. @override
SumInterface clone()
override

Create a clone of the SumInterface with the same configuration, including any fixedAmount, increments, and hasEnable properties.

Implementation

@override
SumInterface clone() => SumInterface(
      fixedAmount: fixedAmount,
      increments: increments,
      width: width,
      hasEnable: hasEnable,
    );