SetCustomLanguagePack class
Adds or changes a custom local language pack to the current localization target.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
-
SetCustomLanguagePack({required LanguagePackInfo info, required List<
LanguagePackString> strings, int? extra, int? clientId}) - Adds or changes a custom local language pack to the current localization target
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- info ↔ LanguagePackInfo
-
Information about the language pack. Language pack identifier must start with 'X', consist only of English letters, digits and hyphens, and must not exceed 64 characters. Can be called before authorization.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
strings
↔ List<
LanguagePackString> -
Strings of the new language pack.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → SetCustomLanguagePack? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"setCustomLanguagePack"