isAt function

Matcher isAt(
  1. String location
)

Matches a GoRouter that is showing location.

The path must match exactly. Query parameters are compared only when location has some, and their order does not matter.

expect(router, isAt('/users/42'));
expect(router, isAt('/search?q=shoes'));

Implementation

Matcher isAt(String location) => _IsAt(Uri.parse(location));