Language.fromJson constructor
Creates a Language instance from a JSON map.
Implementation
factory Language.fromJson(Map<String, dynamic> json) {
return Language(
code: json['code'] as String,
name: json['name'] as String,
nativeName: json['nativeName'] as String,
countryCode: json['countryCode'] as String?,
);
}