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. Can be called synchronously
GetLanguagePackString.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
key String
key Language pack key of the string to be returned
read / write
languagePackDatabasePath String
languagePackDatabasePath Path to the language pack database in which strings are stored
read / write
languagePackId String
languagePackId Language pack identifier
read / write
localizationTarget String
localizationTarget Localization target to which the language pack belongs
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'getLanguagePackString'