firstWithRel method

Link? firstWithRel(
  1. String rel
)

Finds the first link with the given relation.

Implementation

Link? firstWithRel(String rel) =>
    firstOrNullWhere((it) => it.rels.contains(rel));