onData property

Function? onData
getter/setter pair

Called when the new data arrives

notifyListeners is called before this so no need to call in here unless you're running additional logic and setting a separate value.

Implementation

Function? onData;