BlocTask
The BLoC for the communication between the RPUITask and its steps RPStep.
Constructors
BlocTask
Properties
lastProgressValue
lastTaskResult
The current state of the Task Result which can be accessed throughout the framework
sendStatus
The function to update the current status of the question
Based on the status the task will navigate to the next question and manage the result of the question
sendStepResult
The function to send the latest result of the step to the task
Usually it's called as part of the createAndSendResult implementation in those classes which are implementing the CanSaveResult abstract class
stepResult
The stream communicating the latest result of the current step
stepStatus
The stream conveying the current step status
taskProgress
The stream having the latest progress of the task
updateTaskProgress
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.
updateTaskResult
The function to update the task result which is shown in the AppBar for RPOrderedTask