AnswerChoiceTemplate class

A predefined answer choice template for a catalog question.

Constructors

AnswerChoiceTemplate({String? category, String? categoryLabel, String? displayText, int? id})
AnswerChoiceTemplate.fromJson(Map json_)

Properties

category ↔ String?
Category of the answer based on the IAB Audience Taxonomy.
getter/setter pair
categoryLabel ↔ String?
Text label used for aggregating responses by category in analytics.
getter/setter pair
displayText ↔ String?
Localized answer choice text displayed to readers.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
Unique identifier of the answer choice within the question.
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