fromValue static method

InterconnectLinkType fromValue(
  1. String value
)

Implementation

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