QueryJob<DataType, ErrorType, ArgsType> class
Constructors
-
QueryJob({required String queryKey, required QueryJobFn<
DataType, ArgsType> task, DataType? initial, RetryConfig? retryConfig, RefreshConfig? refreshConfig, JsonConfig<DataType> ? jsonConfig, bool enabled = true}) -
const
Properties
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initial → DataType?
-
final
-
jsonConfig
→ JsonConfig<
DataType> ? -
final
- queryKey → String
-
final
- refreshConfig → RefreshConfig?
-
final
- retryConfig → RetryConfig?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
task
→ QueryJobFn<
DataType, ArgsType> -
final
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
Static Methods
-
withVariableKey<
DataType, ErrorType, ArgsType> ({required String baseQueryKey, required QueryJobVariableFn< DataType, ArgsType?> task, DataType? initial, RetryConfig? retryConfig, RefreshConfig? refreshConfig, JsonConfig<DataType> ? jsonConfig, bool enabled = true}) → QueryJobVariableKeyFn<DataType, ErrorType, ArgsType>