CurrencyService class
Constructors
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
-
findByCode(
String? code) → Currency? - Returns the first currency that mach the given code.
-
findByName(
String? name) → Currency? - Returns the first currency that mach the given name.
-
findByNumber(
int? number) → Currency? - Returns the first currency that mach the given number.
-
findCurrenciesByCode(
List< String> codes) → List<Currency> - Returns a list with all the currencies that mach the given codes list.
-
getAll(
) → List< Currency> - Return list with all currencies
-
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