toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'languagePackInfo',
if (extra != null) '@extra': extra,
'id': id,
'base_language_pack_id': base_language_pack_id,
'name': name,
'native_name': native_name,
'plural_code': plural_code,
'is_official': is_official,
'is_rtl': is_rtl,
'is_beta': is_beta,
'is_installed': is_installed,
'total_string_count': total_string_count,
'translated_string_count': translated_string_count,
'local_string_count': local_string_count,
'translation_url': translation_url
};
}