removeAllAsync method
Like removeAll, but runs in a worker isolate.
If you need to call this multiple times consider using the synchronous variant (e.g. removeAll) and wrap the calls in Store.runInTransactionAsync. This has typically better performance as only a single worker isolate has to be spawned.
Implementation
Future<int> removeAllAsync() async =>
await _store.runAsync(_removeAllAsyncCallback<T>, null);