LanguagePackInfo class

Inheritance

Constructors

LanguagePackInfo({String id, String baseLanguagePackId, String name, String nativeName, String pluralCode, bool isOfficial, bool isRtl, bool isBeta, bool isInstalled, int totalStringCount, int translatedStringCount, int localStringCount, String translationUrl})
Contains information about a language pack
LanguagePackInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

baseLanguagePackId String
baseLanguagePackId Identifier of a base language pack; may be empty. If a string is missed in the language pack, then it should be fetched from base language pack. Unsupported in custom language packs
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
id Unique language pack identifier
read / write
isBeta bool
isBeta True, if the language pack is a beta language pack
read / write
isInstalled bool
isInstalled True, if the language pack is installed by the current user
read / write
isOfficial bool
isOfficial True, if the language pack is official
read / write
isRtl bool
isRtl True, if the language pack strings are RTL
read / write
localStringCount int
localStringCount Total number of non-deleted strings from the language pack available locally
read / write
name String
name Language name
read / write
nativeName String
nativeName Name of the language in that language
read / write
pluralCode String
pluralCode 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 info
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalStringCount int
totalStringCount Total number of non-deleted strings from the language pack
read / write
translatedStringCount int
translatedStringCount Total number of translated strings from the language pack
read / write
translationUrl String
translationUrl Link to language translation interface; empty for custom local language packs
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'languagePackInfo'