UpdateLanguagePackStrings.fromJson constructor

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

Parse from a json

Implementation

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