We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getId
getToken
1 parent 76461d7 commit 14bd67fCopy full SHA for 14bd67f
packages/firebase_app_installations/firebase_app_installations_web/lib/src/interop/installations.dart
@@ -34,12 +34,12 @@ class Installations
34
35
Future<String> getId() => (installations_interop.getId(jsObject))
36
.toDart
37
- .then((value) => value as String);
+ .then((value) => value.toDart);
38
39
Future<String> getToken([bool forceRefresh = false]) =>
40
(installations_interop.getToken(jsObject, forceRefresh.toJS))
41
42
43
44
JSFunction? _onIdChangedUnsubscribe;
45
0 commit comments