onEmptied method

Video onEmptied(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The emptied event is fired when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. Read more...

Implementation

Video onEmptied(Function(Element, Event)? fun) {
  if (fun != null) on.call('emptied', fun);
  return this;
}