dispose method
Disposes the WebView Environment reference.
Officially Supported Platforms/Implementations:
- Windows WebView2
- Linux WPE WebKit
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> dispose() => platform.dispose();