removeSessionCookies method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'CookieManager.removeSessionCookies', apiUrl: 'https://developer.android.com/reference/android/webkit/CookieManager#removeSessionCookies(android.webkit.ValueCallback%3Cjava.lang.Boolean%3E)')])
Future<bool> removeSessionCookies()

Removes all session cookies, which are cookies without an expiration date.

The return value indicates whether any cookies were removed.

Officially Supported Platforms/Implementations:

Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'CookieManager.removeSessionCookies',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/CookieManager#removeSessionCookies(android.webkit.ValueCallback%3Cjava.lang.Boolean%3E)',
    ),
  ],
)
Future<bool> removeSessionCookies() {
  throw UnimplementedError(
    'removeSessionCookies is not implemented on the current platform',
  );
}