BooleanQuestion class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

BooleanQuestion()
BooleanQuestion.fromJson(Map<String, dynamic> json)
factory
BooleanQuestion.withId()

Properties

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

Methods

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

Operators

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

Constants

questionType → const String