clear method Null safety

Future<void> clear()

Clears the cache.

Typical use case: when it's time to refresh the cached data.

Implementation

Future<void> clear() async => _daoString.put(_getKey(), null);