AppTargeting.fromJson constructor

AppTargeting.fromJson(
  1. Map json_
)

Implementation

AppTargeting.fromJson(core.Map json_)
    : this(
        mobileAppCategoryTargeting:
            json_.containsKey('mobileAppCategoryTargeting')
                ? NumericTargetingDimension.fromJson(
                    json_['mobileAppCategoryTargeting']
                        as core.Map<core.String, core.dynamic>)
                : null,
        mobileAppTargeting: json_.containsKey('mobileAppTargeting')
            ? StringTargetingDimension.fromJson(json_['mobileAppTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
      );