Equality enum
different equality (and hash code) implementations for generated data classes.
Values
- data → const Equality
-
equality is implemented with Equatable package. it behaves like kotlin data classes.
- identity → const Equality
-
only identical instances are equal. it's like when you don't implement any specific equality.
note: if you use this please be aware of const constructors.
- distinct → const Equality
-
all of the instances are not equal. even an instance is not equal with itself.
Properties
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