RPCompletionStep
A step which can be used as a "Thank you" or completion step in a task.
- Inheritance
-
- Object
- Serializable
- RPStep
- RPCompletionStep
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPCompletionStep.fromJson
RPCompletionStep
Create a new RPCompletionStep which shown the text to the user.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
stepWidget
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.
When needed, it should be overridden to fit the different types of Steps.
Methods
toJson
Return a JSON encoding of this object.