QuestionTemplate class
A predefined question template in the survey question catalog.
Constructors
-
QuestionTemplate({List<
AnswerChoiceTemplate> ? answerChoices, String? category, String? categoryLabel, String? configurationType, String? displayText, int? id}) - QuestionTemplate.fromJson(Map json_)
Properties
-
answerChoices
↔ List<
AnswerChoiceTemplate> ? -
Possible answer choices for this question.
getter/setter pair
- category ↔ String?
-
Category of the question based on the IAB Audience Taxonomy.
getter/setter pair
- categoryLabel ↔ String?
-
Text label used for aggregating responses by category in analytics.
getter/setter pair
- configurationType ↔ String?
-
The type of answer choice configuration for this question.
getter/setter pair
- displayText ↔ String?
-
Localized question text displayed to readers.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
Unique identifier of the question template.
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