link function

Element link({
  1. String? id,
  2. String? className,
  3. String? rel,
  4. String? href,
  5. Map<String, dynamic>? attributes,
})

Implementation

Element link({
  String? id,
  String? className,
  String? rel,
  String? href,
  Map<String, dynamic>? attributes,
}) => h(
  'link',
  id: id,
  className: className,
  attributes: {'rel': rel, 'href': href, ...?attributes},
  selfClosing: true,
);