fromValue static method

VpnGatewayGatewayIpVersion fromValue(
  1. String value
)

Implementation

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