deleteOrigin method

  1. @override
Future<void> deleteOrigin({
  1. required String origin,
})

Clears the storage currently being used by both the Application Cache and Web SQL Database APIs by the given origin. The origin is specified using its string representation.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<void> deleteOrigin({required String origin}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("origin", () => origin);
  await channel?.invokeMethod('deleteOrigin', args);
}