li function

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

Implementation

DomNode li(
        {num value,
        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(
        'li',
        _apply([p, props],
            {'value': value, 'id': id, 'class': className, 'style': style}),
        []..addAll(c ?? [])..addAll(children ?? []));