getToken method
Retrieves the client FCM token. (The client must first ask for the permission requestNotificationPermissions)
Implementation
Future<String> getToken() => futureFromPromise<String>(_messaging.getToken());
Retrieves the client FCM token. (The client must first ask for the permission requestNotificationPermissions)
Future<String> getToken() => futureFromPromise<String>(_messaging.getToken());