Finds all the links matching the given media type.
List<Link> filterByMediaType(MediaType mediaType) => where((it) => it.mediaType.matches(mediaType)).toList();