ConsistencyChecker class

Detects duplicate factId and triple conflicts before a write.

Constructors

ConsistencyChecker({required FactStoragePort storage, bool enabled = true})

Properties

enabled bool
Master enable switch — when false, check is a no-op.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

check(Fact candidate) Future<ConflictReport?>
Check candidate against stored facts. Returns a ConflictReport on conflict, or null otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited