PlacementTargeting.fromJson constructor

PlacementTargeting.fromJson(
  1. Map _json
)

Implementation

PlacementTargeting.fromJson(core.Map _json)
    : this(
        mobileApplicationTargeting:
            _json.containsKey('mobileApplicationTargeting')
                ? MobileApplicationTargeting.fromJson(
                    _json['mobileApplicationTargeting']
                        as core.Map<core.String, core.dynamic>)
                : null,
        urlTargeting: _json.containsKey('urlTargeting')
            ? UrlTargeting.fromJson(
                _json['urlTargeting'] as core.Map<core.String, core.dynamic>)
            : null,
      );