Question<V> class abstract

Implementers

Constructors

Question(String type)
Question.fromJson(Map<String, dynamic> data)
factory
Question.withId(String type)

Properties

conditional ↔ QuestionConditional<V>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
prompt String?
getter/setter pair
rationale String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
getter/setter pair

Methods

getAnswerType() Type
getDefaultAnswer() Answer<V>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldBeShown(QuestionnaireState state) bool
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

keyConditional → const String
keyType → const String