GoogleCloudChannelV1Plan.fromJson constructor

GoogleCloudChannelV1Plan.fromJson(
  1. Map json_
)

Implementation

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