dispose method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
- @override
- @mustCallSuper
override
Disposes the channel and event handler.
Officially Supported Platforms/Implementations:
- Android Chrome Custom Tabs
- iOS SFSafariViewController
Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
@override
@mustCallSuper
void dispose() {
eventHandler = null;
}