isInSameCurrencyAs method

bool isInSameCurrencyAs(
  1. Money other
)

Returns true if this money value is in same currency as other.

Implementation

bool isInSameCurrencyAs(Money other) =>
    isInCurrencyWithCurrency(other.currency);