toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MessageAction.suppress:
      return 'SUPPRESS';
    case MessageAction.resend:
      return 'RESEND';
  }
}