UnknownExchangeRateException class
Thrown if an attempt is made to calcuate the value of a Money amount in another currency for which there isn't a registered exchange rate.
- Implemented types
Constructors
- UnknownExchangeRateException(CurrencyIsoCode from, CurrencyIsoCode to)
- Thrown if no exchange rate exists between from and to
Properties
- from ↔ CurrencyIsoCode
-
The from currency isoCode in the unknown exchange
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to ↔ CurrencyIsoCode
-
The to currency isoCode in the unknown exchange
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited