UnknownCurrency class
Unknown currency
Special class of currency to identify the fact the currency is unknown
Never equals to anything, even itself, except the exactly same instance
Grabs code value from the passed argument for visual representation, but
Currency.number is always set to 0
, Currency.digits is set to 2
- Inheritance
- Available Extensions
Constructors
- UnknownCurrency(String code)
- Creates new Unknown Currency instance
Properties
- code → String
-
ISO-4217 Currency code in
XXX
formatfinalinherited - digits → int
-
Length of the fraction part of a currency
finalinherited
- hashCode → int
-
hashCode of an unknown currency is always
0
no setteroverride - number → int
-
ISO-4217 Currency number
finalinherited
- 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