cancel method

Future<void> cancel()

Cancels the web authentication session.

If the session has already presented a view with the authentication webpage, calling this method dismisses that view. Calling cancel on an already canceled session has no effect.

Officially Supported Platforms/Implementations:

Implementation

Future<void> cancel() {
  throw UnimplementedError(
      'cancel is not implemented on the current platform');
}