Returns the first Link with the given href, or null if not found.
href
int? indexOfFirstWithHref(String href) => indexWhere((it) => it.href == href).takeUnless((it) => it == -1);