NewEnrichmentItem.fromJson constructor

NewEnrichmentItem.fromJson(
  1. Map json_
)

Implementation

NewEnrichmentItem.fromJson(core.Map json_)
    : this(
        locationEnrichment: json_.containsKey('locationEnrichment')
            ? LocationEnrichment.fromJson(json_['locationEnrichment']
                as core.Map<core.String, core.dynamic>)
            : null,
        mapEnrichment: json_.containsKey('mapEnrichment')
            ? MapEnrichment.fromJson(
                json_['mapEnrichment'] as core.Map<core.String, core.dynamic>)
            : null,
        textEnrichment: json_.containsKey('textEnrichment')
            ? TextEnrichment.fromJson(json_['textEnrichment']
                as core.Map<core.String, core.dynamic>)
            : null,
      );