DetectedLanguage.fromJson constructor

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

Implementation

factory DetectedLanguage.fromJson(Map<String, dynamic> json) =>
    DetectedLanguage(
      language: json['language'],
      score: json['score'],
    );