link method
Returns the first link containing the given rel.
- Parameter rel: The rel to look for.
- Returns: The first link containing the rel.
Implementation
Link? link(LicenseRel rel, {MediaType? type}) =>
_links.firstWithRel(rel.val, type: type);