TechnologyTargeting.fromJson constructor

TechnologyTargeting.fromJson(
  1. Map _json
)

Implementation

TechnologyTargeting.fromJson(core.Map _json)
    : this(
        deviceCapabilityTargeting: _json
                .containsKey('deviceCapabilityTargeting')
            ? CriteriaTargeting.fromJson(_json['deviceCapabilityTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        deviceCategoryTargeting: _json.containsKey('deviceCategoryTargeting')
            ? CriteriaTargeting.fromJson(_json['deviceCategoryTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        operatingSystemTargeting:
            _json.containsKey('operatingSystemTargeting')
                ? OperatingSystemTargeting.fromJson(
                    _json['operatingSystemTargeting']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );