DictlayerdataDict.fromJson constructor

DictlayerdataDict.fromJson(
  1. Map json_
)

Implementation

DictlayerdataDict.fromJson(core.Map json_)
    : this(
        source: json_.containsKey('source')
            ? DictlayerdataDictSource.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
        words: json_.containsKey('words')
            ? (json_['words'] as core.List)
                .map((value) => DictlayerdataDictWords.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );