operator == method

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

Returns true if this and other are equal.

Implementation

@override
// ignore: hash_and_equals
operator ==(Object other) {
  // WARNING: Don't use identical to ensure nan != nan,
  // if (identical(this, other)) return true;
  if (other is Decimal128) {
    return _realmLib.realm_dart_decimal128_equal(_value, other._value);
  }
  return false;
}