onVideoPlayback property Null safety
The callback of video playback.
Implementation
VideoPlaybackCallback? get onVideoPlayback => _onVideoPlayback;
Implementation
set onVideoPlayback(VideoPlaybackCallback? newValue) {
_onVideoPlayback = newValue;
final nativeMethodName = FWMethodNameUtil.convertToNativeMethod(
FWNativeMethodName.setVideoPlaybackEventEnabled);
FWMethodChannelUtil.getFirewokSDKChannel()
.invokeListMethod(nativeMethodName, newValue != null);
}