fromValue static method

JobLaunchStage fromValue(
  1. String value
)

Implementation

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