onEvent property

  1. @override
set onEvent (void func(Event))
inherited

Receives any event that is emitted by the player.

Implementation

@override
set onEvent(void Function(Event) func) {
  _addListener(func);
}