clear method

dynamic clear ()

Removes all items from localstorage

Implementation

clear() {
  _data.clear();
  return _flush();
}