We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6c0bfa + 6af62f5 commit 39b87a3Copy full SHA for 39b87a3
lib/js_notifications_web.dart
@@ -29,7 +29,7 @@ class JsNotificationsWeb extends JsNotificationsPlatform {
29
late StreamSubscription<NotificationActionResult> _dismissSubscription;
30
31
late final ServiceWorkerManager serviceWorkerManager;
32
- late final interop.NotificationsAPI notificationsAPI;
+ late final interop.NotificationsAPI notificationsAPI = interop.NotificationsAPI.instance;
33
34
StreamController<NotificationActionResult>? _dismissStream;
35
StreamController<NotificationActionResult>? _actionStream;
0 commit comments