NodeGroupAutoscalingPolicy.fromJson constructor

NodeGroupAutoscalingPolicy.fromJson(
  1. Map json_
)

Implementation

NodeGroupAutoscalingPolicy.fromJson(core.Map json_)
    : this(
        maxNodes: json_.containsKey('maxNodes')
            ? json_['maxNodes'] as core.int
            : null,
        minNodes: json_.containsKey('minNodes')
            ? json_['minNodes'] as core.int
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
      );