GoogleCloudChannelV1Plan.fromJson constructor

GoogleCloudChannelV1Plan.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1Plan.fromJson(core.Map json_)
  : this(
      billingAccount: json_['billingAccount'] as core.String?,
      paymentCycle: json_.containsKey('paymentCycle')
          ? GoogleCloudChannelV1Period.fromJson(
              json_['paymentCycle'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      paymentPlan: json_['paymentPlan'] as core.String?,
      paymentType: json_['paymentType'] as core.String?,
      trialPeriod: json_.containsKey('trialPeriod')
          ? GoogleCloudChannelV1Period.fromJson(
              json_['trialPeriod'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );