BlocTask class
The BLoC file for the communication between the task RPUITask and its steps RPStep.
Constructors
- BlocTask()
Properties
- lastProgressValue → RPTaskProgress
-
read-only
- lastTaskResult → RPTaskResult
-
The current state of the Task Result which can be accessed throughout the framework
read-only
- sendStatus → dynamic Function(StepStatus)
-
The function to update the current status of the question [...]
read-only
- sendStepResult → dynamic Function(RPStepResult)
-
The function to send the latest result of the step to the task [...]
read-only
-
stepResult
→ Stream<
RPStepResult> -
The stream communicating the latest result of the current step
read-only
-
stepStatus
→ Stream<
StepStatus> -
The stream conveying the current step status
read-only
-
taskProgress
→ Stream<
RPTaskProgress> -
The stream having the latest progress of the task
read-only
- updateTaskProgress → dynamic Function(RPTaskProgress)
-
The function to update the task progress. The task progress is shown in the appbar on top of the screen.
It shows how many questions are there in total and where the participant stands in the process so far.
read-only
- updateTaskResult → dynamic Function(RPTaskResult)
-
The function to update the task result which is shown in the AppBar for RPOrderedTask
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
dispose(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited