toMessageAction method

MessageAction toMessageAction()

Implementation

MessageAction toMessageAction() {
  switch (this) {
    case 'SUPPRESS':
      return MessageAction.suppress;
    case 'RESEND':
      return MessageAction.resend;
  }
  throw Exception('$this is not known in enum MessageAction');
}