toNotificationTransport method
Implementation
NotificationTransport toNotificationTransport() {
switch (this) {
case 'Email':
return NotificationTransport.email;
case 'SQS':
return NotificationTransport.sqs;
case 'SNS':
return NotificationTransport.sns;
}
throw Exception('$this is not known in enum NotificationTransport');
}