equals method
Implementation
bool equals(LexoDecimal other) {
if (identical(this, other)) {
return true;
}
// if (!other) {
// return false;
// }
return mag.equals(other.mag) && identical(sig, other.sig);
}
bool equals(LexoDecimal other) {
if (identical(this, other)) {
return true;
}
// if (!other) {
// return false;
// }
return mag.equals(other.mag) && identical(sig, other.sig);
}