getToken method

Future<String?> getToken({
  1. String? vapidKey,
})

Returns the default FCM token for this device.

On web, a vapidKey is required.

Implementation

Future<String?> getToken({
  String? vapidKey,
}) {
  return _delegate.getToken(
    vapidKey: vapidKey,
  );
}