dispose method
Disposes the web notification controller.
Officially Supported Platforms/Implementations:
- Windows WebView2
Use the PlatformWebNotificationController.isMethodSupported method to check if this method is supported at runtime.
Implementation
void dispose() => platform.dispose();