SurveyQuestion class
A single question within a survey, which can be either a preset question from the catalog or a custom publisher-defined question.
Constructors
- SurveyQuestion({CustomQuestion? customQuestion, PresetQuestion? presetQuestion})
- SurveyQuestion.fromJson(Map json_)
Properties
- customQuestion ↔ CustomQuestion?
-
A custom question defined by the publisher.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- presetQuestion ↔ PresetQuestion?
-
A question selected from the preset question catalog.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited