deleteAllCookies method

  1. @override
Future<bool> deleteAllCookies()

Removes all cookies.

The return value indicates whether any cookies were removed. Note that it will return always true for Web, iOS and MacOS platforms.

NOTE for iOS: available from iOS 11.0+.

NOTE for MacOS: available from iOS 10.13+.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<bool> deleteAllCookies() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await channel?.invokeMethod<bool>('deleteAllCookies', args) ?? false;
}