operator < method
Implementation
@override
bool operator <(DynamicNumber<dynamic> other) {
if (other.isDecimal) {
return toDecimal() < other.toDecimal();
}
if (isBigInt || other.isBigInt) {
return toBigInt() < other.toBigInt();
} else {
return toInt() < other.toInt();
}
}