GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.fromJson constructor

GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.fromJson(
  core.Map json_,
) : this(
      currencyCode: json_['currencyCode'] as core.String?,
      eventCounter: json_['eventCounter'] as core.String?,
      eventOccurrenceRange: json_.containsKey('eventOccurrenceRange')
          ? GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange.fromJson(
              json_['eventOccurrenceRange']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      eventRevenueRange: json_.containsKey('eventRevenueRange')
          ? GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange.fromJson(
              json_['eventRevenueRange']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      eventRevenueValue: (json_['eventRevenueValue'] as core.num?)
          ?.toDouble(),
      mappedEventName: json_['mappedEventName'] as core.String?,
    );