clear method

Future<void> clear()

Clears both the value and last update timestamp from storage.

This method removes the tracked value and its associated timestamp from persistent storage.

Implementation

Future<void> clear() async {
  await Future.wait([
    value.remove(),
    lastUpdate.remove(),
  ]);
}