operator == method

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

Igualdade numérica (1.5 == 1.50); NaN == NaN, como no PostgreSQL.

Implementation

@override
bool operator ==(Object other) =>
    other is PgDecimal && compareTo(other) == 0;