PathMatcher.callback constructor
Creates a PathMatcher that uses a callback function to match paths.
Implementation
factory PathMatcher.callback(
bool Function(String path) callback,
) {
return CallbackPathMatcher(callback);
}
Creates a PathMatcher that uses a callback function to match paths.
factory PathMatcher.callback(
bool Function(String path) callback,
) {
return CallbackPathMatcher(callback);
}