GoogleCloudChannelV1RenewalSettings.fromJson constructor

GoogleCloudChannelV1RenewalSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1RenewalSettings.fromJson(core.Map json_)
    : this(
        enableRenewal: json_.containsKey('enableRenewal')
            ? json_['enableRenewal'] as core.bool
            : 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,
        resizeUnitCount: json_.containsKey('resizeUnitCount')
            ? json_['resizeUnitCount'] as core.bool
            : null,
      );