CurrencyService class Null safety

Constructors

CurrencyService()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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