clear method

Future<bool> clear()

Implementation

Future<bool> clear() async {
  if (!await CacheHandler.removeCacheObject(getCacheId())) {
    return false;
  }
  _models.clear();
  return true;
}