Represents an amount of money with its currency type.
- currencyCode ↔ String
The 3-letter currency code defined in ISO 4217.
read / write
- hashCode → int
The hash code for this object. [...]
- nanos ↔ int
Number of nano (10^-9) units of the amount. The value must be between
-999,999,999 and +999,999,999 inclusive. If
nanosmust be positive or zero. If
nanoscan be positive, zero, or negative. If
nanosmust be negative or zero. For example $-1.75 is represented as
nanos=-750,000,000.read / write
- runtimeType → Type
A representation of the runtime type of the object.
- units ↔ String
The whole units of the amount. For example if
"USD", then 1 unit is one US dollar.read / write