fl_query_hooks library

Functions

useInfiniteQuery<T extends Object, Outside, PageParam extends Object>({required InfiniteQueryJob<T, Outside, PageParam> job, required Outside externalData, InfiniteQueryListeners<T, PageParam>? onData, InfiniteQueryListeners<dynamic, PageParam>? onError, List<Object?>? keys}) → InfiniteQuery<T, Outside, PageParam>
useMutation<T extends Object, V>({required MutationJob<T, V> job, MutationListener<T, V>? onData, MutationListener<dynamic, V>? onError, MutationListenerReturnable<V, dynamic>? onMutate, List<Object?>? keys}) → Mutation<T, V>
useQuery<T extends Object, Outside>({required QueryJob<T, Outside> job, required Outside externalData, QueryListener<T>? onData, QueryListener? onError, List<Object?>? keys}) → Query<T, Outside>