clear method
Clear all documents and snapshots
Implementation
Future<void> clear() async {
for (final documentId in List.of(_documents.keys)) {
await _feed.untrack(documentId);
}
_documents.clear();
_snapshots.clear();
}
Clear all documents and snapshots
Future<void> clear() async {
for (final documentId in List.of(_documents.keys)) {
await _feed.untrack(documentId);
}
_documents.clear();
_snapshots.clear();
}