collection method
All links with rel
matching collection
.
IANA description: "The target IRI points to a resource which represents the collection resource for the context IRI".
Optional type
and hreflang
params can specify links more precisely.
Implementation
Iterable<Link> collection({String? type, String? hreflang}) =>
byRel('collection', type: type, hreflang: hreflang);