loop method
If specified, the audio player will automatically seek back to the start upon reaching the end of the audio. Read more...
Implementation
Audio loop(bool boolean) {
if (boolean && node.attrs != null) {
VirtualAttr attr = VirtualAttr('loop', '');
node.attrs!.add(attr);
}
return this;
}