LanguagePackInfo class

Implemented types

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. id Unique language pack identifier. 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. name Language name . nativeName Name of the language in that language. pluralCode A language code to be used to apply plural forms. See https. isOfficial True, if the language pack is official . isRtl True, if the language pack strings are RTL . isBeta True, if the language pack is a beta language pack. isInstalled True, if the language pack is installed by the current user. totalStringCount Total number of non-deleted strings from the language pack . translatedStringCount Total number of translated strings from the language pack. localStringCount Total number of non-deleted strings from the language pack available locally . translationUrl Link to language translation interface; empty for custom local language packs
LanguagePackInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

baseLanguagePackId String
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
isBeta bool
read / write
isInstalled bool
read / write
isOfficial bool
read / write
isRtl bool
read / write
localStringCount int
read / write
name String
read / write
nativeName String
read / write
pluralCode String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalStringCount int
read / write
translatedStringCount int
read / write
translationUrl String
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
"languagePackInfo"