dispose method

  1. @SupportedPlatforms.new(platforms: [IOSPlatform(), MacOSPlatform()])
  2. @override
Future<void> dispose()
override

Disposes the web authentication session.

Officially Supported Platforms/Implementations:

  • iOS WKWebView
  • macOS WKWebView

Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [IOSPlatform(), MacOSPlatform()])
@override
Future<void> dispose() {
  throw UnimplementedError(
    'dispose is not implemented on the current platform',
  );
}