onFrameDataChanged property Null safety

VoidCallback? onFrameDataChanged

A callback that is invoked when the window updates the FrameData.

Implementation

VoidCallback? get onFrameDataChanged => platformDispatcher.onFrameDataChanged;
void onFrameDataChanged=(VoidCallback? callback)

Implementation

set onFrameDataChanged(VoidCallback? callback) {
  platformDispatcher.onFrameDataChanged = callback;
}