fromValue static method

EngineSolutionType fromValue(
  1. String value
)

Implementation

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