fromJson static method

TranslationData fromJson(
  1. Map<String, dynamic> json
)

Implementation

static TranslationData fromJson(Map<String, dynamic> json) {
  return TranslationData(
    translation: json['translation'],
    translationViewStatus: json['translationViewStatus'],
  );
}