alternate method

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

All links with rel matching alternate.

IANA description: "Refers to a substitute for this context".

Optional type and hreflang params can specify links more precisely.

Implementation

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