expandTemplate method
Expands the HREF by replacing URI template variables by the given parameters.
See RFC 6570 on URI template.
Implementation
Link expandTemplate(Map<String, String> parameters) =>
copy(href: UriTemplate(href).expand(parameters), templated: false);