conformance method

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

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

OGC API Features & OGC API - Common Part 1 (Core): "Refers to a resource that identifies the specifications that the link’s context conforms to".

Optional type and hreflang params can specify links more precisely.

Implementation

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