operator < method
Returns true if the inequality <
holds for each component.
Implementation
bool operator <(List<num> other) {
mustHaveSameLength(other, operatorSymbol: '<');
for (var i = 0; i < length; i++) {
if (this[i] >= other[i]) {
return false;
}
}
return true;
}