LanguageVo class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LanguageVo(String name, String languageCode, {String? countryCode, bool isSystem = false})
LanguageVo.fromJson(Map<String, dynamic> json)
factory

Properties

countryCode String?
城市code
final
hashCode int
The hash code for this object.
no setterinherited
isSystem bool
final
languageCode String
语言code
final
name String
语言显示名字
getter/setter pair
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() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

toCN() LanguageVo
简体
toEn() LanguageVo
英文
toIDN() LanguageVo
印尼
toSystem() LanguageVo
跟随系统
toTW() LanguageVo
繁体
toVI() LanguageVo
越南语