We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9f46a5 commit 2b84febCopy full SHA for 2b84feb
packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart
@@ -383,7 +383,7 @@ class Auth extends JsObjectWrapper<auth_interop.AuthJsImpl> {
383
384
await completer.future;
385
386
- await (unsubscribe.dartify()! as Future<void> Function())();
+ await (unsubscribe.callAsFunction() as JSPromise<JSAny?>?)?.toDart;
387
}
388
389
JSFunction? _onAuthUnsubscribe;
0 commit comments