ArisCountryCodeItem class

CountryCodeItem Model @author Aris Hu created at 2020-12-12

Constructors

ArisCountryCodeItem({bool isTag = false, String tagName, String langCode, String scriptCode, String code, String name, String countryName, String namePinyin, String nameFirstWordPinyin, String dialCode})
ArisCountryCodeItem.fromCode(String isoCode)
factory
ArisCountryCodeItem.fromJson(Map<String, dynamic> json)
factory

Properties

code String
国家代码 (CN, IT,AF..)
final
countryName String
国家名称英文
read / write
dialCode String
电话区号 (+39,+93..)
final
hashCode int
The hash code for this object.
read-onlyoverride
isTag bool
是不是tag
final
langCode String
国家语言
final
name String
国家名称
read / write
nameFirstWordPinyin String
国家名称首字母拼音
read / write
namePinyin String
国家名称拼音首字符
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scriptCode String
语言变体标识
final
tagName String
TAG名称
final

Methods

localize(BuildContext context) ArisCountryCodeItem
get country name for specific locale
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toCountryStringOnly() String
to country string only
toLongString() String
to long string
toString() String
to dialCode string only
override

Operators

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