sendFirebaseNotification static method

Future<void> sendFirebaseNotification(
  1. dynamic remoteMessage
)

Implementation

static Future<void> sendFirebaseNotification(dynamic remoteMessage) async {
  if (!kIsWeb || !Platform.isAndroid) throw Exception('Only for Android');
  return _channel.invokeMethod(
      'send_firebase_notification', {'remote_message': remoteMessage});
}