equals function

bool equals(
  1. String path1,
  2. String path2
)

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) => context.equals(path1, path2);