url method
Implementation
Uri url(LicenseRel rel,
{MediaType? preferredType, Map<String, String> parameters = const {}}) {
Link? l =
link(rel, type: preferredType) ?? _links.firstWithRelAndNoType(rel.val);
if (l == null) {
throw LcpException.parsing.url(rel.val);
}
return l.urlWithParams(parameters: parameters);
}