toNotificationRuleStatus method
Implementation
NotificationRuleStatus toNotificationRuleStatus() {
switch (this) {
case 'ENABLED':
return NotificationRuleStatus.enabled;
case 'DISABLED':
return NotificationRuleStatus.disabled;
}
throw Exception('$this is not known in enum NotificationRuleStatus');
}