BlocTask class

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

Constructors

BlocTask.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
lastProgressValue RPTaskProgress?
no setter
lastTaskResult RPTaskResult?
The current state of the Task Result which can be accessed throughout the framework
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendStatus → dynamic Function(RPStepStatus)
The function to update the current status of the question
no setter
sendStepResult → dynamic Function(RPResult)
The function to send the latest result of the step to the task
no setter
stepResult Stream<RPResult>
The stream communicating the latest result of the current step
no setter
stepStatus Stream<RPStepStatus>
The stream conveying the current step status
no setter
taskProgress Stream<RPTaskProgress>
The stream having the latest progress of the task
no setter
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.
no setter
updateTaskResult → dynamic Function(RPTaskResult)
The function to update the task result which is shown in the AppBar for RPOrderedTask
no setter

Methods

dispose() → dynamic
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