StrictEqualityEntity class abstract interface

Marker for entities whose equality is stricter than the base id-based contract (e.g. UniqueEntity). Entity.== refuses to claim equality from the loose side when other carries this marker, keeping == symmetric — required for HashMap correctness. Subtypes must override == themselves to enforce the stricter rule.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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