deleteToken method

  1. @override
Future<void> deleteToken()

Removes access to an FCM token previously authorized with optional senderId.

Messages sent by the server to this token will fail.

Implementation

@override
Future<void> deleteToken() async {
  _delegate;

  if (!_initialized) {
    // no-op for unsupported browsers
    return;
  }

  return convertWebExceptions(_delegate.deleteToken);
}