removeMessage method

void removeMessage()

Remove the first MessageHandlerMiddleware in the queue.

Implementation

void removeMessage() {
  if (notifications.isNotEmpty) {
    notifications.removeAt(0);
    hasMessageShowing = false;
  }
}