label method
A user-readable title of the text track which is used by the browser when listing available text tracks. Read more...
Implementation
Track label(String text, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('label', text);
node.attrs!.add(attr);
}
return this;
}