sendNotification method

void sendNotification(
  1. String method, [
  2. dynamic params
])

Send a notification (fire-and-forget, no response expected).

Implementation

void sendNotification(String method, [dynamic params]) {
  final notification = BridgeNotification(method: method, params: params);
  _send(notification.toJson());
}