a function

Node a({
  1. String? href,
  2. String? rel,
  3. String? target,
  4. String? id,
  5. dynamic className,
  6. dynamic style,
  7. Map<String, dynamic> p = const {},
  8. @deprecated Map<String, dynamic> props = const {},
  9. Iterable<Node> c = const [],
  10. @deprecated Iterable<Node> children = const [],
})

Implementation

Node a(
        {String? href,
        String? rel,
        String? target,
        String? id,
        className,
        style,
        Map<String, dynamic> p = const {},
        @deprecated Map<String, dynamic> props = const {},
        Iterable<Node> c = const [],
        @deprecated Iterable<Node> children = const []}) =>
    h(
        'a',
        _apply([
          p,
          props
        ], {
          'href': href,
          'rel': rel,
          'target': target,
          'id': id,
          'class': className,
          'style': style,
        }),
        [...c, ...children]);