toValue method
Implementation
String toValue() {
switch (this) {
case BounceType.doesNotExist:
return 'DoesNotExist';
case BounceType.messageTooLarge:
return 'MessageTooLarge';
case BounceType.exceededQuota:
return 'ExceededQuota';
case BounceType.contentRejected:
return 'ContentRejected';
case BounceType.undefined:
return 'Undefined';
case BounceType.temporaryFailure:
return 'TemporaryFailure';
}
}