onEvent property

void Function(String method, Object? arguments)? onEvent
getter/setter pair

事件回调,由插件注入到方法通道,向 Dart 侧转发播放器事件。

Implementation

void Function(String method, Object? arguments)? onEvent;