onEvent property

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

Receives any event that is emitted by the player.

Implementation

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