data method
All links with rel
matching data
or
http://www.opengis.net/def/rel/ogc/1.0/data
.
OGC API Features: "Refers to the root resource of a dataset in an API.".
OGC API - Common Part 2 (Geospatial data): "Indicates that the link’s context is a distribution of a dataset that is an API and refers to the root resource of the dataset in an API."
Optional type
and hreflang
params can specify links more precisely.
Implementation
Iterable<Link> data({String? type, String? hreflang}) =>
_byRelInternal('data', type: type, hreflang: hreflang)
.followedBy(
_byRelInternal(
'http://www.opengis.net/def/rel/ogc/1.0/data',
type: type,
hreflang: hreflang,
),
)
.toList(growable: false);