items method

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

All links with rel matching items or http://www.opengis.net/def/rel/ogc/1.0/items.

OGC API Features & OGC API - Common Part 2 (Geospatial data): "Refers to a resource that is comprised of members of the collection represented by the link’s context".

Optional type and hreflang params can specify links more precisely.

Implementation

Iterable<Link> items({String? type, String? hreflang}) =>
    _byRelInternal('items', type: type, hreflang: hreflang)
        .followedBy(
          _byRelInternal(
            'http://www.opengis.net/def/rel/ogc/1.0/items',
            type: type,
            hreflang: hreflang,
          ),
        )
        .toList(growable: false);