toCustomRoutingDestinationTrafficState method
Implementation
CustomRoutingDestinationTrafficState
toCustomRoutingDestinationTrafficState() {
switch (this) {
case 'ALLOW':
return CustomRoutingDestinationTrafficState.allow;
case 'DENY':
return CustomRoutingDestinationTrafficState.deny;
}
throw Exception(
'$this is not known in enum CustomRoutingDestinationTrafficState');
}