operator == method

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

Returns true if this BigDecimal equals the specified object.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  return other is BigDecimal && compareTo(other) == 0;
}