clear method

Future<void> clear()
override

Clears all keys stored in a given Storage object.

NOTE for Web: this method will have effect only if the iframe has the same origin.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
  • Web

Implementation

Future<void> clear() => platform.clear();