sendMessage method
Add a NotificationMessage to the queue.
Implementation
void sendMessage(NotificationMessage message) {
notifications.add(message);
}
Add a NotificationMessage to the queue.
void sendMessage(NotificationMessage message) {
notifications.add(message);
}