sendMessage method

void sendMessage(
  1. NotificationMessage message
)

Add a NotificationMessage to the queue.

Implementation

void sendMessage(NotificationMessage message) {
  notifications.add(message);
}