removeAllData method

Future<void> removeAllData()

Removes all the data that was set using setData and similar functions.

Implementation

Future<void> removeAllData() async {
  await lock((batch) {
    _logger.fine('removeAllData');
    batch.set(_data, _CompareMap());
    batch.commit();
  }, lockKey: _key);
}