onEvent property

UpgraderCallback? get onEvent

获取当前设置的事件回调(可能为 null)。

Implementation

UpgraderCallback? get onEvent => _onEvent;