NodeGroupAutoscalingPolicy.fromJson constructor

NodeGroupAutoscalingPolicy.fromJson(
  1. Map _json
)

Implementation

NodeGroupAutoscalingPolicy.fromJson(core.Map _json) {
  if (_json.containsKey("maxNodes")) {
    maxNodes = _json["maxNodes"];
  }
  if (_json.containsKey("minNodes")) {
    minNodes = _json["minNodes"];
  }
  if (_json.containsKey("mode")) {
    mode = _json["mode"];
  }
}