equals method

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

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

Implementation

@override
bool equals(int x, int y) => compare(x, y) == 0;