DictlayerdataDictWordsSenses.fromJson constructor

DictlayerdataDictWordsSenses.fromJson(
  1. Map json_
)

Implementation

DictlayerdataDictWordsSenses.fromJson(core.Map json_)
    : this(
        conjugations: json_.containsKey('conjugations')
            ? (json_['conjugations'] as core.List)
                .map((value) =>
                    DictlayerdataDictWordsSensesConjugations.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        definitions: json_.containsKey('definitions')
            ? (json_['definitions'] as core.List)
                .map((value) =>
                    DictlayerdataDictWordsSensesDefinitions.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        partOfSpeech: json_.containsKey('partOfSpeech')
            ? json_['partOfSpeech'] as core.String
            : null,
        pronunciation: json_.containsKey('pronunciation')
            ? json_['pronunciation'] as core.String
            : null,
        pronunciationUrl: json_.containsKey('pronunciationUrl')
            ? json_['pronunciationUrl'] as core.String
            : null,
        source: json_.containsKey('source')
            ? DictlayerdataDictWordsSensesSource.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
        syllabification: json_.containsKey('syllabification')
            ? json_['syllabification'] as core.String
            : null,
        synonyms: json_.containsKey('synonyms')
            ? (json_['synonyms'] as core.List)
                .map((value) => DictlayerdataDictWordsSensesSynonyms.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );