removeSessionCookies method
Removes all session cookies, which are cookies without an expiration date.
The return value indicates whether any cookies were removed.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - CookieManager.removeSessionCookies)
Implementation
@override
Future<bool> removeSessionCookies() async {
Map<String, dynamic> args = <String, dynamic>{};
return await channel?.invokeMethod<bool>('removeSessionCookies', args) ??
false;
}