embed function

Node embed({
  1. num? height,
  2. String? src,
  3. String? type,
  4. num? width,
  5. String? id,
  6. dynamic className,
  7. dynamic style,
  8. Map<String, dynamic> p = const {},
  9. @deprecated Map<String, dynamic> props = const {},
})

Implementation

Node embed(
        {num? height,
        String? src,
        String? type,
        num? width,
        String? id,
        className,
        style,
        Map<String, dynamic> p = const {},
        @deprecated Map<String, dynamic> props = const {}}) =>
    SelfClosingNode(
        'embed',
        _apply([
          p,
          props
        ], {
          'height': height,
          'src': src,
          'type': type,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }));