getToken method

Future<String> getToken()

After calling requestPermission you can call this method to get an FCM registration token that can be used to send push messages to this user.

Implementation

Future<String> getToken() => handleThenable(jsObject.getToken());