operator / method

CurrencyAmount operator /(
  1. covariant CurrencyAmount other
)

Implementation

CurrencyAmount operator /(covariant CurrencyAmount other) {
  final divide = super.divide(other);
  return CurrencyAmount.fromFractionalAmount(
      currency, divide.numerator, divide.denominator);
}