allWithRel method

List<Link> allWithRel(
  1. String rel, {
  2. MediaType? type,
})

Implementation

List<Link> allWithRel(String rel, {MediaType? type}) =>
    links.where((element) => element.matches(rel, type)).toList();