deliverPushMessage method

Future<void> deliverPushMessage(
  1. String origin,
  2. RegistrationID registrationId,
  3. String data
)

Implementation

Future<void> deliverPushMessage(
  String origin,
  RegistrationID registrationId,
  String data,
) async {
  await _client.send('ServiceWorker.deliverPushMessage', {
    'origin': origin,
    'registrationId': registrationId,
    'data': data,
  });
}