linkWithRel method

Link? linkWithRel(
  1. String rel
)

Finds the first Link with the given relation in the manifest's links.

Implementation

Link? linkWithRel(String rel) =>
    readingOrder.firstWithRel(rel) ??
    resources.firstWithRel(rel) ??
    links.firstWithRel(rel);