SetCustomLanguagePack class

Inheritance

Constructors

SetCustomLanguagePack({LanguagePackInfo info, List<LanguagePackString> strings})
Adds or changes a custom local language pack to the current localization target. info Information about the language pack. Language pack ID must start with 'X', consist only of English letters, digits and hyphens, and must not exceed 64 characters. Can be called before authorization . strings Strings of the new language pack
SetCustomLanguagePack.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
info LanguagePackInfo
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strings List<LanguagePackString>
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"setCustomLanguagePack"