link function
Implementation
ElementNode link({
required String rel,
required String href,
String? type,
String? media,
}) {
return el(
'link',
attrs: {
'rel': StringAttribute(rel),
'href': StringAttribute(href),
if (type != null) 'type': StringAttribute(type),
if (media != null) 'media': StringAttribute(media),
},
children: const [],
);
}