srcLang method
Language of the track text data. Read more...
Implementation
Track srcLang(String langCode, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('srclang', langCode);
node.attrs!.add(attr);
}
return this;
}