getMessageId method

dynamic getMessageId()

Implementation

dynamic getMessageId() {
  if (this is NotificationMessage) {
    return (this as NotificationMessage).notificationId;
  }

  // BaseMessage
  return (this as BaseMessage).messageId;
}