toValue method
Implementation
String toValue() {
switch (this) {
case EventType.send:
return 'send';
case EventType.reject:
return 'reject';
case EventType.bounce:
return 'bounce';
case EventType.complaint:
return 'complaint';
case EventType.delivery:
return 'delivery';
case EventType.open:
return 'open';
case EventType.click:
return 'click';
case EventType.renderingFailure:
return 'renderingFailure';
}
}