CountryCode class

Country element. This is the element that contains all the information

Implementers

Constructors

CountryCode({String? name, String? flagUri, String? code, String? dialCode})
CountryCode.fromCode(String isoCode)
factory
CountryCode.fromCountryCode(String countryCode)
factory
CountryCode.fromDialCode(String dialCode)
factory
CountryCode.fromJson(Map<String, dynamic> json)
factory

Properties

code String?
the country code (IT,AF..)
final
dialCode String?
the dial code (+39,+93..)
final
flagUri String?
the flag of the country
final
hashCode int
The hash code for this object.
no setterinherited
name String?
the name of the country
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

localize(BuildContext context) CountryCode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCountryStringOnly() String
toLongString() String
toString() String
A string representation of this object.
override

Operators

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