toVirtualGatewayStatusCode method
Implementation
VirtualGatewayStatusCode toVirtualGatewayStatusCode() {
switch (this) {
case 'ACTIVE':
return VirtualGatewayStatusCode.active;
case 'INACTIVE':
return VirtualGatewayStatusCode.inactive;
case 'DELETED':
return VirtualGatewayStatusCode.deleted;
}
throw Exception('$this is not known in enum VirtualGatewayStatusCode');
}