Is it possible to receive background notifications in flutter web. By following the official documentation, I have managed to receive the background notifications is a firebase service worker javascript file. But I am stuck, on how to relay that notification from javascript to dart code?. Tried many samples using js interop etc. But firebase service worker js won't recognise any functions that I wrapped in dart code. Any help?.
My question is I receive background notification in service worker js onBackgroundMessage event, but not sure how to relay that to dart code.