Country class

Constructors

Country.fromCode(String code, [String? languageCode])
factory

Properties

code String
final
codeInIso3 String?
final
currencyCode String?
final
currencyName String?
final
currencyNameInNative String?
final
currencySymbol String?
final
flag String?
final
hashCode int
The hash code for this object.
no setteroverride
languageCode String?
final
languageName String?
final
languageNameInNative String?
final
languageNumericalDigits String?
final
locale String
no setter
name String?
final
nameInNative String?
final
nationality String?
final
nationalityInNative String?
final
phoneCode String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Map<String, dynamic>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchCountry(String query) bool
searchCurrency(String query) bool
searchLanguage(String query) bool
searchPhone(String query) bool
toString() String
A string representation of this object.
override

Operators

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

Static Methods

tryParse(String locale) Country?