sendNotifications method

void sendNotifications(
  1. PluginCommunicationChannel channel
)

Use the given communications channel to send the notifications to the server.

Implementation

void sendNotifications(PluginCommunicationChannel channel) {
  for (var notification in notifications) {
    channel.sendNotification(notification);
  }
}