LocationMatch<T> constructor
A match for a location, containing some extra context around the location.
Some locations need extra context when performing certain actions, for example, we might need the Completer when trying to pop the page.
Implementation
LocationMatch({
required this.location,
this.completer,
});