factory LanguageDetail.fromJson(Map<String, dynamic> json) { return LanguageDetail(type: json['type']); }