audio function

DomNode audio(
  1. {bool autoplay,
  2. bool controls,
  3. bool loop,
  4. bool muted,
  5. String preload,
  6. String src,
  7. String id,
  8. dynamic className,
  9. dynamic style,
  10. Map<String, dynamic> p = const {},
  11. @deprecated Map<String, dynamic> props = const {},
  12. Iterable<DomNode> c = const [],
  13. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode audio(
        {bool autoplay,
        bool controls,
        bool loop,
        bool muted,
        String preload,
        String src,
        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(
        'audio',
        _apply([
          p,
          props
        ], {
          'autoplay': autoplay,
          'controls': controls,
          'loop': loop,
          'muted': muted,
          'preload': preload,
          'src': src,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));