RPImageChoiceAnswerFormat
Class representing an Answer Format that lets participants choose an image from a set of images.
- Inheritance
-
- Object
- Serializable
- RPAnswerFormat
- RPImageChoiceAnswerFormat
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPImageChoiceAnswerFormat.fromJson
RPImageChoiceAnswerFormat
- required List<
RPImageChoice> choices,
Returns an initialized RPImageChoiceAnswerFormat with the given list of RPImageChoices.
Properties
choices
getter/setter pair
A list of available RPImageChoice objects which represent the choices to the participants.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
questionType
override
inherited
The question type of this answer. Should be implemented / overwritten in the subclasses.
Methods
toJson
Return a JSON encoding of this object.