equals method

bool equals(
  1. LexoDecimal other
)

Implementation

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