operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Implementation

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

  return false;
}