LocalizationTargetInfo.fromJson constructor

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

Parse from a json

Implementation

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