AutoscalingPolicyCpuUtilization.fromJson constructor

AutoscalingPolicyCpuUtilization.fromJson(
  1. Map json_
)

Implementation

AutoscalingPolicyCpuUtilization.fromJson(core.Map json_)
    : this(
        predictiveMethod: json_.containsKey('predictiveMethod')
            ? json_['predictiveMethod'] as core.String
            : null,
        utilizationTarget: json_.containsKey('utilizationTarget')
            ? (json_['utilizationTarget'] as core.num).toDouble()
            : null,
      );