fromValue static method

RoutineRoutineType fromValue(
  1. String value
)

Implementation

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