onFrameDataChanged property Null safety

VoidCallback? onFrameDataChanged
override

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

Implementation

@override
ui.VoidCallback? get onFrameDataChanged => _platformDispatcher.onFrameDataChanged;
void onFrameDataChanged=(VoidCallback? value)
override

Implementation

@override
set onFrameDataChanged(ui.VoidCallback? value) {
  _platformDispatcher.onFrameDataChanged = value;
}