operator == method
Returns true
if other
is the same amount of money in
the same currency.
Implementation
@override
bool operator ==(covariant Money other) =>
identical(this, other) ||
(isInSameCurrencyAs(other) && other.amount == amount);