AutomaticEqualityTrait mixin
@fileoverview Provides automatic equality for serialisable objects. Not appropriate for objects which are used in sets or hash maps, as hash code implemenation returns a constant value.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
marshal(
MarshalledObject marshalled) → void -
serialise to this object.
inherited
-
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 -
Compares coordinates for equality.
override