clear method

Future clear()

Remove all entries with keyPrefix from local storage

Implementation

Future clear() async {
  for (String key in _index) {
    remove(key);
  }
}