LocalizationTargetInfo.fromJson constructor

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

Parse from a json

Implementation

LocalizationTargetInfo.fromJson(Map<String, dynamic> json) {
  this.languagePacks = List<LanguagePackInfo>.from((json['language_packs'] ??
          [])
      .map((item) => LanguagePackInfo.fromJson(item ?? <String, dynamic>{}))
      .toList());
  this.extra = json['@extra'];
}