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