fromValue static method

RoutineSecurityMode fromValue(
  1. String value
)

Implementation

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