toConnectionType method
Implementation
ConnectionType toConnectionType() {
switch (this) {
case 'INTERNET':
return ConnectionType.internet;
case 'VPC_LINK':
return ConnectionType.vpcLink;
}
throw Exception('$this is not known in enum ConnectionType');
}