UseQueriesOptions<TData, TError> class
- Inheritance
-
- Object
- UseQueryOptions<
TData, TError> - UseQueriesOptions
Constructors
-
UseQueriesOptions({required QueryKey queryKey, required QueryFn<
TData> fetcher, bool enabled = true, Duration? cacheDuration, Duration? refetchInterval, RefetchOnMount? refetchOnMount, Duration? staleDuration, int retryCount = 3, Duration retryDelay = const Duration(seconds: 1, milliseconds: 500)})
Properties
- cacheDuration → Duration?
-
finalinherited
- enabled → bool
-
finalinherited
-
fetcher
→ QueryFn<
TData> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- queryKey → QueryKey
-
final
- refetchInterval → Duration?
-
finalinherited
- refetchOnMount → RefetchOnMount?
-
finalinherited
- retryCount → int
-
finalinherited
- retryDelay → Duration
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staleDuration → Duration?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited