@override bool operator ==(Object other) { if (other is Decimal) { return precision == other.precision && doubleValue == other.doubleValue; } return false; }