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