toGatewayType method
Implementation
GatewayType toGatewayType() {
switch (this) {
case 'virtualPrivateGateway':
return GatewayType.virtualPrivateGateway;
case 'transitGateway':
return GatewayType.transitGateway;
}
throw Exception('$this is not known in enum GatewayType');
}