LanguagePackInfo class

Contains information about a language pack.

Inheritance
Available Extensions

Constructors

LanguagePackInfo({required String id, required String base_language_pack_id, required String name, required String native_name, required String plural_code, required bool is_official, required bool is_rtl, required bool is_beta, required bool is_installed, required int total_string_count, required int translated_string_count, required int local_string_count, required String translation_url, int? extra, int? clientId})
Contains information about a language pack

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.
read / write
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
id String
Unique language pack identifier.
read / write
is_beta bool
True, if the language pack is a beta language pack.
read / write
is_installed bool
True, if the language pack is installed by the current user.
read / write
is_official bool
True, if the language pack is official.
read / write
is_rtl bool
True, if the language pack strings are RTL.
read / write
local_string_count int
Total number of non-deleted strings from the language pack available locally.
read / write
name String
Language name.
read / write
native_name String
Name of the language in that language.
read / write
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.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
total_string_count int
Total number of non-deleted strings from the language pack.
read / write
translated_string_count int
Total number of translated strings from the language pack.
read / write
translation_url String
Link to language translation interface; empty for custom local language packs.
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) LanguagePackInfo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"languagePackInfo"