DefinitionDocument.fromJson constructor
Implementation
factory DefinitionDocument.fromJson(Map<String, dynamic> json) {
return DefinitionDocument(
language: (json['language'] as String).toDefinitionLanguage(),
text: json['text'] as String,
);
}