DictlayerdataDictWordsSensesDefinitions.fromJson constructor

DictlayerdataDictWordsSensesDefinitions.fromJson(
  1. Map json_
)

Implementation

DictlayerdataDictWordsSensesDefinitions.fromJson(core.Map json_)
    : this(
        definition: json_.containsKey('definition')
            ? json_['definition'] as core.String
            : null,
        examples: json_.containsKey('examples')
            ? (json_['examples'] as core.List)
                .map((value) =>
                    DictlayerdataDictWordsSensesDefinitionsExamples.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );