onData method

void onData(
  1. T? data
)

Called before the notifyListeners is called when data has been set

Implementation

void onData(T? data) {}