clear method

Future<void> clear()

Removes all items from storage. returns Callback on success, or on failure (in which case runtime.lastError will be set).

Implementation

Future<void> clear() async {
  await promiseToFuture<void>(_wrapped.clear());
}