CountryService class

Constructors

CountryService()

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) Country?
Returns the first country that mach the given code.
findByName(String? name) Country?
Returns the first country that mach the given name.
findCountriesByCode(List<String> codes) List<Country>
Returns a list with all the countries that mach the given codes list.
getAll() List<Country>
Return list with all countries
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