equals method Null safety
- E e1,
- E e2
override
Compare two elements for being equal.
This should be a proper equality relation.
Implementation
@override
bool equals(E e1, E e2) => identical(e1, e2);
Compare two elements for being equal.
This should be a proper equality relation.
@override
bool equals(E e1, E e2) => identical(e1, e2);