ILibCountry class

Constructors

ILibCountry({Object? locale})
locale Set the locale

Properties

hashCode int
The hash code for this object.
no setterinherited
locale String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCode(String ctryname) String
Return the country code corresponding to the country name given.
If the country name is given, but it is not found in the list of known countries, this method will throw an exception.
getLocale() ILibLocale
Return the locale that this info object was created with.
getName(String code) String
Return the country name corresponding to the country code given.
If the code is given, but it is not found in the list of known countries, this method will throw an exception.
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

Static Methods

getAvailableCode() List<String>
Return an array of the ids for all ISO 3166-1 alpha-2 code that this copy of ilib knows about.
getAvailableCountry() List<String>
Return an array of country names that this copy of ilib knows about.