toEventPublisher method
Implementation
EventPublisher toEventPublisher() {
switch (this) {
case 'AnomalyDetection':
return EventPublisher.anomalyDetection;
}
throw Exception('$this is not known in enum EventPublisher');
}
EventPublisher toEventPublisher() {
switch (this) {
case 'AnomalyDetection':
return EventPublisher.anomalyDetection;
}
throw Exception('$this is not known in enum EventPublisher');
}