RPInstructionStep class Null safety

A step which can be used to communicate instructions and other information to the participants. Usually it is used as the first step in a Task explaining the task.



RPInstructionStep({required String identifier, String? text, required String title, String? detailText, String? footnote, String? imagePath})
RPInstructionStep.fromJson(Map<String, dynamic> json)


$type String?
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
detailText String?
The text which is shown in a new window by pressing the "Learn more" button. If null, no "Learn more" button is shown.
read / write
footnote String?
Optional footnote to appear on the bottom of the screen
read / write
fromJsonFunction Function
The function which can convert a JSON string to an object of this type.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
A unique identifier of the Step. This identifier connects the Step to its result (RPResult) object.
final, inherited
imagePath String?
The path of the image to show during the Instruction Step (e.g.: "assets/picture.png"). [...]
read / write
jsonType String
Return the $type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.
read-only, inherited
optional bool
If set to true the step can be skipped. In that case the result for the step will be null.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stepWidget Widget
The widget (UI representation) of the step
read-only, override
text String?
The text of the Step. Different types of Steps are using the text text differently. [...]
read / write, inherited
title String
The title text. Different types of Steps are using the title text differently. [...]
read / write, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
Return a JSON encoding of this object.
toString() String
A string representation of this object. [...]


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