fromValue static method

ServiceLaunchStage fromValue(
  1. String value
)

Implementation

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