Matches all of this router's registered paths against the provided input string.
If at least one registered path matches the input string, this method
will determine the one registered path that best matches the input, using
the strategy determined by the provided comparator.
Only the handler for the best matching path will be called. Its return value, if any, will be returned from this method.
If no paths match, but a default handler has been supplied, that handler will be called and its return value will be returned.
If no paths match, but .exhaustive() has been called, then this method
will throw an exception.
Otherwise, null will be returned.
The input string to match against registered paths
Optionalopts: DispatchOptsOptional dispatch configuration to override router-level settings
Calling this method will cause the router to throw an Error when none of its registered paths match the input being dispatched.
Register a handler with the router. When input is dispatched to the router, the provided handler will be invoked iff the provided path is considered to be the best possible match to the input.
Provide a handler to the router that will compute a default value when none of its registered paths match the input being dispatched.