clear method
Clears the cache and emits an empty state to the repository stream.
Implementation
Future<void> clear() async {
_controller.add(const RepositoryState.empty());
await clearCache();
}
Clears the cache and emits an empty state to the repository stream.
Future<void> clear() async {
_controller.add(const RepositoryState.empty());
await clearCache();
}