fromValue static method

GatewayAPIConfigChannel fromValue(
  1. String value
)

Implementation

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