EMTranslateLanguage.fromJson constructor

EMTranslateLanguage.fromJson(
  1. Map map
)

Implementation

factory EMTranslateLanguage.fromJson(Map map) {
  String code = map["code"];
  String name = map["name"];
  String nativeName = map["nativeName"];
  return EMTranslateLanguage._private(
    languageCode: code,
    languageName: name,
    languageNativeName: nativeName,
  );
}