Compare two elements for being not equal.
This should be a proper equality relation.
@override bool notEquals(T? elements1, T? elements2) => !equals(elements1, elements2);