AutoscalingTargets.fromJson constructor

AutoscalingTargets.fromJson(
  1. Map json_
)

Implementation

AutoscalingTargets.fromJson(core.Map json_)
    : this(
        cpuUtilizationPercent: json_.containsKey('cpuUtilizationPercent')
            ? json_['cpuUtilizationPercent'] as core.int
            : null,
        storageUtilizationGibPerNode:
            json_.containsKey('storageUtilizationGibPerNode')
                ? json_['storageUtilizationGibPerNode'] as core.int
                : null,
      );