equals method

  1. @override
bool equals(
  1. A x,
  2. A y
)
override

Returns true if the two values are equal according to the compare function.

Implementation

@override

/// Returns true if the two values are equal according to the compare function.
bool equals(A x, A y) => _compare(x, y) == 0;