aUriWith function
Matcher
aUriWith({})
Implementation
Matcher aUriWith({
Object? scheme,
Object? host,
Object? port,
Object? path,
Object? pathSegments,
Object? query,
Object? queryParams,
}) {
return allOf([
isUri(),
if (scheme != null) withScheme(wrapMatcher(scheme)),
if (host != null) withHost(wrapMatcher(host)),
if (port != null) withPort(wrapMatcher(port)),
if (path != null) withPath(wrapMatcher(path)),
if (pathSegments != null) withPathSegments(wrapMatcher(pathSegments)),
if (query != null) withQueryString(wrapMatcher(query)),
if (queryParams != null) withQueryParams(wrapMatcher(queryParams)),
]);
}