CountryService class Null safety

Constructors

CountryService()

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) 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 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