sub method

  1. @override
Coin sub(
  1. dynamic value
)

Implementation

@override
Coin sub(value) {
  return Coin(denom, amount! - double.parse(value));
}