DetectionAlternative.fromJson constructor

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

Implementation

factory DetectionAlternative.fromJson(Map<String, dynamic> json) =>
    DetectionAlternative(
      language: json['language'],
      score: json['score'],
      translationSupported: json['isTranslationSupported'],
      transliterationSupported: json['isTransliterationSupported'],
    );