RPStep class
The base class for steps which can compose a task.
Each RPStep object represents one logical piece of data entry or activity in a larger task. Whether your app is giving instructions, presenting a form or survey, obtaining consent, or running an active task, everything in the Research Package framework is a collection of steps (RPStep objects), which together form a task (an RPTask object)
Constructors
Properties
- identifier → String
-
A unique identifier of the Step. This identifier connects the Step to its result (RPResult) object.
read-only
- stepWidget → Widget
-
The widget (UI representation) of the step. RPQuestionSteps don't have it because their UI representation depends on the Answer Format.
Their Answer Format is assessed by RPUIQuestionStep or RPUIFormStep and they return the corresponding UI. [...]
read-only
- text ↔ String
-
The text of the Step. Different types of Steps are using the text text differently. [...]
read / write
- title ↔ String
-
The title text. Different types of Steps are using the title text differently. [...]
read / write
- 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
-
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