fromValue static method

ExternalRefCategory fromValue(
  1. String value
)

Implementation

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