fromValue static method

Implementation

static AutoscalingSettingsAlgorithm fromValue(String value) {
  for (final item in AutoscalingSettingsAlgorithm.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown AutoscalingSettingsAlgorithm value: $value');
}