Equal to
@override bool operator ==(Object other) { if (other is! Decimal) return false; return compareTo(other) == 0; }