a function

DomNode 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<DomNode> c = const [],
  10. @deprecated Iterable<DomNode> children = const []}
)

Implementation

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