OperatingSystemTargeting.fromJson constructor

OperatingSystemTargeting.fromJson(
  1. Map _json
)

Implementation

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