LanguagePackInfo.fromJson constructor

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

Parse from a json

Implementation

factory LanguagePackInfo.fromJson(Map<String, dynamic> json) =>
    LanguagePackInfo(
      id: json['id'],
      baseLanguagePackId: json['base_language_pack_id'],
      name: json['name'],
      nativeName: json['native_name'],
      pluralCode: json['plural_code'],
      isOfficial: json['is_official'],
      isRtl: json['is_rtl'],
      isBeta: json['is_beta'],
      isInstalled: json['is_installed'],
      totalStringCount: json['total_string_count'],
      translatedStringCount: json['translated_string_count'],
      localStringCount: json['local_string_count'],
      translationUrl: json['translation_url'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );