AFAlwaysFailQuery class
- Inheritance
-
- Object
- AFObjectWithKey
- AFActionWithKey
- AFAsyncQuery<
String> - AFAlwaysFailQuery
Constructors
- AFAlwaysFailQuery({required String message, AFID? id})
Properties
- conceptualStore ↔ AFConceptualStore
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → AFID?
-
finalinherited
- key → String
-
no setterinherited
- lastStart ↔ int?
-
getter/setter pairinherited
- message → String
-
final
- onError → AFOnErrorDelegate?
-
finalinherited
-
onPreExecuteResponse
→ AFPreExecuteResponseDelegate<
String> ? -
finalinherited
-
onSuccess
→ AFOnResponseDelegate<
String> ? -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simulatedLatencyFactor → int?
-
finalinherited
Methods
-
createSuccessContextForResponse(
{required AFDispatcher dispatcher, required AFState state, required String response, required bool isPreExecute}) → AFFinishQuerySuccessContext< String> -
inherited
-
currentMillis(
) → int -
inherited
-
finishAsyncWithError(
AFFinishQueryErrorContext context) → void -
The default implementation calls the error handler specified
in your xxx_define_core.dart file.
inherited
-
finishAsyncWithErrorAF(
AFFinishQueryErrorContext context) → void -
inherited
-
finishAsyncWithResponse(
AFFinishQuerySuccessContext< String> context) → void -
Called when the asynchronous process completes with a response It should merge the results
into the state (preserving immutability by making copies of the relevant portions of the state using copyWith),
and then use the dispatcher to call set actions for any modified
state elements.
override
-
finishAsyncWithResponseAF(
AFFinishQuerySuccessContext< String> context) → void -
Called internally by the framework to do pre and post processing before finishAsyncWithResponse
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retargetStore(
AFConceptualStore target) → void -
inherited
-
startAsync(
AFStartQueryContext< String> context) → void -
Called at the start of an asynchronous process, starts the query using data from the
command.
override
-
startAsyncAF(
AFDispatcher dispatcher, AFStore store, {required Completer< AFFinishQuerySuccessContext> ? completer, void onResponseExtra(dynamic)?, void onErrorExtra(dynamic)?}) → void -
Called internally when redux middleware begins processing a query.
inherited
-
testFinishAsyncWithError(
AFStateTestContext context, AFQueryError error) → void -
Called during testing to simulate results from an asynchronous call.
inherited
-
testFinishAsyncWithResponse(
AFStateTestContext context, String response) → void -
Called during testing to simulate results from an asynchronous call.
inherited
-
throwUnimplemented(
) → Never -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited