fromValue static method

ControlSolutionTypesItem fromValue(
  1. String value
)

Implementation

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