dispose method
- @SupportedPlatforms.new(platforms: [WindowsPlatform(), LinuxPlatform()])
override
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
@SupportedPlatforms(platforms: [WindowsPlatform(), LinuxPlatform()])
Future<void> dispose() {
throw UnimplementedError(
'dispose is not implemented on the current platform',
);
}