English words: EnglishWords.amount(1250.5, 'USD') →
One thousand two hundred fifty US dollars and fifty cents only.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
currencyCodes
→ Iterable<
String> -
Currency codes with English names.
no setter
Static Methods
-
amount(
num value, String currencyCode, {bool only = true}) → String -
valueofcurrencyCodein words, capitalized, ending withonlyunlessonlyis false. Throws TafqeetException for an unknown currency or a non-finite value. -
currency(
String code) → EnglishCurrency? -
Currency for
code(case-insensitive), or null. Subunits follow the Arabic table (ArabicTafqeet.currency) so both spell the same amount. -
number(
int n) → String -
nin words, lower case (one hundred twenty-three).