equals method
Returns true
if path1
points to the same location as path2
, and
false
otherwise.
The hash function returns a hash code that matches these equality semantics.
Implementation
bool equals(String path1, String path2) => p.context.equals(path1, path2);