toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "id": id,
    "base_language_pack_id": baseLanguagePackId,
    "name": name,
    "native_name": nativeName,
    "plural_code": pluralCode,
    "is_official": isOfficial,
    "is_rtl": isRtl,
    "is_beta": isBeta,
    "is_installed": isInstalled,
    "total_string_count": totalStringCount,
    "translated_string_count": translatedStringCount,
    "local_string_count": localStringCount,
    "translation_url": translationUrl,
  };
}