Currency class
Money currency container
Is being used for:
- visual money representation
- fractional part calculations
- money operations control
- Implementers
- Available Extensions
Constructors
- Currency(String code, int number, int digits)
-
Constructs currency
const
- Currency.code(String code)
-
Find currency by XXX ISO-4217 code
factory
- Currency.number(int number)
-
Find currency by ISO-4217 currency number
factory
Properties
- code → String
-
ISO-4217 Currency code in
XXX
formatfinal - digits → int
-
Length of the fraction part of a currency
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- number → int
-
ISO-4217 Currency number
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The quantity operator
override