AutoscalingSettings.fromJson constructor

AutoscalingSettings.fromJson(
  1. Map json_
)

Implementation

AutoscalingSettings.fromJson(core.Map json_)
    : this(
        algorithm: json_.containsKey('algorithm')
            ? json_['algorithm'] as core.String
            : null,
        maxNumWorkers: json_.containsKey('maxNumWorkers')
            ? json_['maxNumWorkers'] as core.int
            : null,
      );