disposeKeepAlive static method

Future<void> disposeKeepAlive(
  1. InAppWebViewKeepAlive keepAlive
)

Disposes the WebView that is using the keepAlive instance for the keep alive feature.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS

Implementation

static Future<void> disposeKeepAlive(InAppWebViewKeepAlive keepAlive) =>
    PlatformInAppWebViewController.static().disposeKeepAlive(keepAlive);