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