object function

Node object({
  1. String? data,
  2. String? form,
  3. num? height,
  4. String? name,
  5. String? type,
  6. String? usemap,
  7. num? width,
  8. String? id,
  9. dynamic className,
  10. dynamic style,
  11. Map<String, dynamic> p = const {},
  12. Iterable<Node> c = const [],
})

Implementation

Node object({
  String? data,
  String? form,
  num? height,
  String? name,
  String? type,
  String? usemap,
  num? width,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'object',
        _apply([
          p
        ], {
          'data': data,
          'form': form,
          'height': height,
          'name': name,
          'type': type,
          'usemap': usemap,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);