fromValue static method

SoftwareRecipeDesiredState fromValue(
  1. String value
)

Implementation

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