fromValue static method

PatchConfigRebootConfig fromValue(
  1. String value
)

Implementation

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