audio function

Node 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. Iterable<Node> c = const [],
})

Implementation

Node audio({
  bool? autoplay,
  bool? controls,
  bool? loop,
  bool? muted,
  String? preload,
  String? src,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) => h(
  'audio',
  _apply(
    [p],
    {
      'autoplay': autoplay,
      'controls': controls,
      'loop': loop,
      'muted': muted,
      'preload': preload,
      'src': src,
      'id': id,
      'class': className,
      'style': style,
    },
  ),
  [...c],
);