LanguagePackInfo class

Contains information about a language pack

Inheritance

Constructors

LanguagePackInfo({String? extra, int? client_id, string? id, string? base_language_pack_id, string? name, string? native_name, string? plural_code, Bool? is_official, Bool? is_rtl, Bool? is_beta, Bool? is_installed, int32? total_string_count, int32? translated_string_count, int32? local_string_count, string? translation_url})
LanguagePackInfo.fromMap(Map<String, dynamic> map)

Properties

base_language_pack_id string?
Identifier of a base language pack; may be empty. If a string is missed in the language pack, then it must be fetched from base language pack. Unsupported in custom language packs
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id string?
Unique language pack identifier
getter/setter pair
is_beta Bool?
True, if the language pack is a beta language pack
getter/setter pair
is_installed Bool?
True, if the language pack is installed by the current user
getter/setter pair
is_official Bool?
True, if the language pack is official
getter/setter pair
is_rtl Bool?
True, if the language pack strings are RTL
getter/setter pair
local_string_count int32?
Total number of non-deleted strings from the language pack available locally
getter/setter pair
name string?
Language name
getter/setter pair
native_name string?
Name of the language in that language
getter/setter pair
plural_code string?
A language code to be used to apply plural forms. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride
total_string_count int32?
Total number of non-deleted strings from the language pack
getter/setter pair
translated_string_count int32?
Total number of translated strings from the language pack
getter/setter pair
translation_url string?
Link to language translation interface; empty for custom local language packs
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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