fromMap static method
override
Construct from Map.
Implementation
static UpdateLanguagePackStrings? 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 localization_target = _map['localization_target']! as String;
var language_pack_id = _map['language_pack_id']! as String;
var strings = List<LanguagePackString>.from(
(_map["strings"] ?? []).map(
(e) => LanguagePackString.fromMap(e),
),
);
return UpdateLanguagePackStrings(
extra: extra,
clientId: clientId,
localization_target: localization_target,
language_pack_id: language_pack_id,
strings: strings,
);
}