operator < method
< operator to compare this and other
. Overriding it is optional,
it has a default implementation that uses == and > operators
USE StrictComparable IF YOU ONLY WANT TO COMPARE TO T
If you need to specify what Type is used on > and < operators, use SpecificComparable
Implementation
bool operator <(Object other) => this != other && !(this > other);