Professional Documents
Culture Documents
Word Model
Word Model
class WordApi {
WordApi({
this.word,
this.phonetics,
this.meanings,
});
class Meaning {
Meaning({
this.partOfSpeech,
this.definitions,
});
class Definition {
Definition({
this.definition,
this.example,
this.synonyms,
});
final String definition;
final String example;
final List<String> synonyms;
class Phonetic {
Phonetic({
this.text,
this.audio,
});