fromValue static method

EnvironmentApiProxyType fromValue(
  1. String value
)

Implementation

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