fromValue static method

ReleaseChannelChannel fromValue(
  1. String value
)

Implementation

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