Compare two elements for being equal.
This should be a proper equality relation.
@override bool equals(Object? e1, Object? e2) => e1 == e2;