onQueryChange method
Called on every state change for a query or mutation controller.
Provides both currentState and nextState — equivalent to
BlocObserver.onChange but typed to QueryState and keyed by
cacheKey.
Implementation
void onQueryChange(
String cacheKey,
QueryState<dynamic> currentState,
QueryState<dynamic> nextState,
) {}