self method

Iterable<Link> self({
  1. String? type,
  2. String? hreflang,
})

All links with rel matching self.

IANA description: "Conveys an identifier for the link's context".

OGC API - Common Part 1 (Core): "A link to another representation of this resource".

Optional type and hreflang params can specify links more precisely.

Implementation

Iterable<Link> self({String? type, String? hreflang}) =>
    byRel('self', type: type, hreflang: hreflang);