UpdateLanguagePackStrings.fromJson constructor

UpdateLanguagePackStrings.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory UpdateLanguagePackStrings.fromJson(Map<String, dynamic> json) => UpdateLanguagePackStrings(
  localizationTarget: json['localization_target'],
  languagePackId: json['language_pack_id'],
  strings: List<LanguagePackString>.from((json['strings'] ?? []).map((item) => LanguagePackString.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);