toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotificationType.bounce:
      return 'Bounce';
    case NotificationType.complaint:
      return 'Complaint';
    case NotificationType.delivery:
      return 'Delivery';
  }
}