pause method Null safety

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 InAppWebViewController.pauseTimers. To resume WebView, call resume.

Official Android API:


Future<void> pause() async {
  Map<String, dynamic> args = <String, dynamic>{};
  await _channel.invokeMethod('pause', args);