TranslitLanguage.fromJson constructor
Implementation
factory TranslitLanguage.fromJson(Map<String, dynamic> json) =>
TranslitLanguage(
code: json['code'],
name: utf8.decode(json['name'].codeUnits),
nativeName: utf8.decode(json['nativeName'].codeUnits),
scripts: (json['scripts'] as List<dynamic>)
.map((e) => ScriptLanguage.fromJson(e))
.toList(),
);