fromValue static method

AddressIpv6EndpointType fromValue(
  1. String value
)

Implementation

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