equals method

  1. @override
bool equals(
  1. Object? e1,
  2. Object? e2
)
override

Compare two elements for being equal.

This should be a proper equality relation.

Implementation

@override
bool equals(Object? e1, Object? e2) => e1 == e2;