article function

DomNode article(
  1. {dynamic className,
  2. dynamic style,
  3. Map<String, dynamic> p = const {},
  4. @deprecated Map<String, dynamic> props = const {},
  5. Iterable<DomNode> c = const [],
  6. @deprecated Iterable<DomNode> children = const []}
)

Implementation

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