AutoscalingLimits.fromJson constructor

AutoscalingLimits.fromJson(
  1. Map json_
)

Implementation

AutoscalingLimits.fromJson(core.Map json_)
    : this(
        maxNodes: json_.containsKey('maxNodes')
            ? json_['maxNodes'] as core.int
            : null,
        maxProcessingUnits: json_.containsKey('maxProcessingUnits')
            ? json_['maxProcessingUnits'] as core.int
            : null,
        minNodes: json_.containsKey('minNodes')
            ? json_['minNodes'] as core.int
            : null,
        minProcessingUnits: json_.containsKey('minProcessingUnits')
            ? json_['minProcessingUnits'] as core.int
            : null,
      );