BlocTask class Null safety

The BLoC file for the communication between the task RPUITask and its steps RPStep.

Constructors

BlocTask()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
lastProgressValue RPTaskProgress?
read-only
lastTaskResult RPTaskResult?
The current state of the Task Result which can be accessed throughout the framework
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sendStatus → dynamic Function(RPStepStatus)
The function to update the current status of the question [...]
read-only
sendStepResult → dynamic Function(RPResult)
The function to send the latest result of the step to the task [...]
read-only
stepResult Stream<RPResult>
The stream communicating the latest result of the current step
read-only
stepStatus Stream<RPStepStatus>
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

Methods

dispose() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited