GetLanguagePackString class

Inheritance

Constructors

GetLanguagePackString({String languagePackDatabasePath, String localizationTarget, String languagePackId, String key})
Returns a string stored in the local database from the specified localization target and language pack by its key. Returns a 404 error if the string is not found. This is an offline method. Can be called before authorization. Can be called synchronously. languagePackDatabasePath Path to the language pack database in which strings are stored . localizationTarget Localization target to which the language pack belongs . languagePackId Language pack identifier . key Language pack key of the string to be returned
GetLanguagePackString.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
key String
read / write
languagePackDatabasePath String
read / write
languagePackId String
read / write
localizationTarget String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
"getLanguagePackString"