source function

Node source({
  1. String? src,
  2. String? srcset,
  3. String? media,
  4. dynamic sizes,
  5. String? type,
  6. String? id,
  7. dynamic className,
  8. dynamic style,
  9. Map<String, dynamic> p = const {},
  10. @deprecated Map<String, dynamic> props = const {},
})

Implementation

Node source(
        {String? src,
        String? srcset,
        String? media,
        sizes,
        String? type,
        String? id,
        className,
        style,
        Map<String, dynamic> p = const {},
        @deprecated Map<String, dynamic> props = const {}}) =>
    SelfClosingNode(
        'source',
        _apply([
          p,
          props
        ], {
          'src': src,
          'srcset': srcset,
          'media': media,
          'sizes': sizes,
          'type': type,
          'id': id,
          'class': className,
          'style': style
        }));