cancel method

void cancel()

Cancels the current authentication request.

Implementation

void cancel() {
  hasCompleted = true;
  _completer.completeError(CancelledException());
}