PaylikeCurrencies class

PaylikeCurrencies is responsible for currency related operations

Constructors

PaylikeCurrencies()

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

byCode(CurrencyCode code) PaylikeCurrency
Provides a PaylikeCurrency based on code
byNumeric(int numeric) PaylikeCurrency
Provides a PaylikeCurrency based on numeric
getCurrencyCode(String code) CurrencyCode
Returns the CurrencyCode based on code
list() List<PaylikeCurrency>
Lists all available currencies
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMajor(CurrencyCode code, num minor) num
Converts a currency to major value using its exponent e.g: 100 cents to 1 USD
toMinor(CurrencyCode code, num major) num
Converts a currency to minor value using its exponent e.g: 1 USD to cents
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited