onPlay method
The play event is fired when the paused property is changed from true to false, as a result of the play method, or the autoplay attribute. Read more...
Implementation
Audio onPlay(Function(Element, Event)? fun) {
if (fun != null) on.call('play', fun);
return this;
}