OnQuerySuccessCallback<T> typedef
OnQuerySuccessCallback<T> =
void Function(T data)
On success is called when the query function is executed successfully.
Passes the returned data.
Implementation
typedef OnQuerySuccessCallback<T> = void Function(T data);