OnQueryErrorCallback<T> typedef
OnQueryErrorCallback<T> =
void Function(dynamic)
On success is called when the query function is executed successfully.
Passes the error through.
Implementation
typedef OnQueryErrorCallback<T> = void Function(dynamic);