toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conjugations != null) 'conjugations': conjugations!,
      if (definitions != null) 'definitions': definitions!,
      if (partOfSpeech != null) 'partOfSpeech': partOfSpeech!,
      if (pronunciation != null) 'pronunciation': pronunciation!,
      if (pronunciationUrl != null) 'pronunciationUrl': pronunciationUrl!,
      if (source != null) 'source': source!,
      if (syllabification != null) 'syllabification': syllabification!,
      if (synonyms != null) 'synonyms': synonyms!,
    };