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,
        uriTargeting: json_.containsKey('uriTargeting')
            ? UriTargeting.fromJson(
                json_['uriTargeting'] as core.Map<core.String, core.dynamic>)
            : null,
      );