onEnded method
The ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. Read more...
Implementation
Video onEnded(Function(Element, Event)? fun) {
if (fun != null) on.call('ended', fun);
return this;
}