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,
      );