GoogleCloudBillingBudgetsV1ThresholdRule.fromJson constructor

GoogleCloudBillingBudgetsV1ThresholdRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudBillingBudgetsV1ThresholdRule.fromJson(core.Map json_)
    : this(
        spendBasis: json_.containsKey('spendBasis')
            ? json_['spendBasis'] as core.String
            : null,
        thresholdPercent: json_.containsKey('thresholdPercent')
            ? (json_['thresholdPercent'] as core.num).toDouble()
            : null,
      );