forget method
Removes a fact by ID.
Implementation
void forget(String factId) {
final fact = _byId.remove(factId);
if (fact != null) {
_bySubject[fact.subject]?.removeWhere((f) => f.id == factId);
}
}
Removes a fact by ID.
void forget(String factId) {
final fact = _byId.remove(factId);
if (fact != null) {
_bySubject[fact.subject]?.removeWhere((f) => f.id == factId);
}
}