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