pause method

Future<void> pause()

Does a best-effort attempt to pause any processing that can be paused safely, such as animations and geolocation. Note that this call does not pause JavaScript. To pause JavaScript globally, use PlatformInAppWebViewController.pauseTimers. To resume WebView, call resume.

Officially Supported Platforms/Implementations:

Implementation

Future<void> pause() => platform.pause();