CustomQuestion class

A custom question defined by the publisher.

Constructors

CustomQuestion({List<CustomAnswerChoice>? answerChoices, String? categoryLabel, String? displayText, String? id})
CustomQuestion.fromJson(Map json_)

Properties

answerChoices ↔ List<CustomAnswerChoice>?
Ordered list of answer choices for the custom question (2-5 items).
getter/setter pair
categoryLabel ↔ String?
Reporting category label sent to Google Analytics (up to 100 characters).
getter/setter pair
displayText ↔ String?
The question prompt displayed to readers (up to 140 characters).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
Server-assigned unique identifier for the custom 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