Relatable<T extends Relatable<T> > mixin
A skeleton that implements comparison operators using compareTo.
- Implemented types
-
- Comparable<
T>
- Comparable<
- Mixin applications
Properties
Methods
-
compareTo(
T other) → int -
Compares this object to another 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 <(
T other) → bool -
operator <=(
T other) → bool -
operator ==(
dynamic other) → bool -
The equality operator.
override
-
operator >(
T other) → bool -
operator >=(
T other) → bool