reset method

void reset()

Complete reset of cache state, network subscription, online status, and storage. Called automatically by Zen.reset().

Implementation

void reset() {
  clear();
  _networkSubscription?.cancel();
  _networkSubscription = null;
  _isOnline = true;
  _storage = null;
}