fromMap static method
override
Construct from Map.
Implementation
static GetLanguagePackString? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var language_pack_database_path =
_map['language_pack_database_path']! as String;
var localization_target = _map['localization_target']! as String;
var language_pack_id = _map['language_pack_id']! as String;
var key = _map['key']! as String;
return GetLanguagePackString(
extra: extra,
clientId: clientId,
language_pack_database_path: language_pack_database_path,
localization_target: localization_target,
language_pack_id: language_pack_id,
key: key,
);
}