GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.fromJson(
    core.Map json_)
    : this(
        campaigns: json_.containsKey('campaigns')
            ? (json_['campaigns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        offering: json_.containsKey('offering')
            ? json_['offering'] as core.String
            : null,
        salesChannel: json_.containsKey('salesChannel')
            ? json_['salesChannel'] as core.String
            : null,
        storeId: json_.containsKey('storeId')
            ? json_['storeId'] as core.String
            : null,
      );