newTag method
Creates a new Bs4Element.
name
- tag nameattrs
- attributes to be added to the tagstring
- text content
Implementation
@override
Bs4Element newTag(
String? name, {
Map<String, String>? attrs,
String? string,
}) {
return BeautifulSoup.newTag(name, attrs: attrs, string: string);
}