clear method
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());
}
Removes all items from storage.
returns
Callback on success, or on failure (in which case
runtime.lastError
will be set).
Future<void> clear() async {
await promiseToFuture<void>(_wrapped.clear());
}