Country class

Constructors

Country.code2Letters(String code2Letters, String namel10n)
factory
Country.fromJson(String source)
factory
Country.fromMap(Map<String, dynamic> map)
factory

Properties

code2Letters String
final
hashCode int
The hash code for this object.
no setteroverride
nameFrench String
no setter
namel10n String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, Object>
toString() String
fallback to french if none found avoid breaking for past user before fl_country_code_picker implementation back if issue with fl_country_code_picker
override

Operators

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

Static Methods

findCode2Letters(String val) String
getSuggestions(String query) List<String>
isRealCountry(String val) bool

Constants

countriesFrench → const Map<String, String>
empty → const Country