clear method

Future<void> clear()

Clears the persisted state

Implementation

Future<void> clear() async {
  removeFromCache(storageKey);
  await _storage.delete(storageKey);
}