newMessage method

void newMessage(
  1. PushSource source,
  2. PushMessageContent content
)

Implementation

void newMessage(PushSource source, PushMessageContent content) {
  _messages.add(SourcedPushMessage(content, source));
}