DictlayerdataDictWords.fromJson constructor

DictlayerdataDictWords.fromJson(
  1. Map json_
)

Implementation

DictlayerdataDictWords.fromJson(core.Map json_)
    : this(
        derivatives: json_.containsKey('derivatives')
            ? (json_['derivatives'] as core.List)
                .map((value) => DictlayerdataDictWordsDerivatives.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        examples: json_.containsKey('examples')
            ? (json_['examples'] as core.List)
                .map((value) => DictlayerdataDictWordsExamples.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        senses: json_.containsKey('senses')
            ? (json_['senses'] as core.List)
                .map((value) => DictlayerdataDictWordsSenses.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        source: json_.containsKey('source')
            ? DictlayerdataDictWordsSource.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );