toNotificationType method

NotificationType toNotificationType()

Implementation

NotificationType toNotificationType() {
  switch (this) {
    case 'ACTUAL':
      return NotificationType.actual;
    case 'FORECASTED':
      return NotificationType.forecasted;
  }
  throw Exception('$this is not known in enum NotificationType');
}