PolarQuestion class
A class that represents a Closed-Ended question.
It accepts the parameters question, which is of type String, parent which is of type Map<Question,String> that is used to denote the state of its parent Question, if any. The answer parameter specifies the list of options to choose from and the not the actual answer selected by the user. The isMandatory parameter is used to specify if the question cannot be left unanswered.
- Inheritance
- Implementers
Constructors
Properties
- answer ↔ TextEditingController
-
getter/setter pairinherited
-
answers
→ List<
String> ? -
final
- errorMessage ↔ String?
-
getter/setter pairinherited
- hasError ↔ bool
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCheckBox → dynamic
-
final
- isMandatory → dynamic
-
final
-
parent
↔ Map<
Question, String?> ? -
getter/setter pairoverride
- question → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → dynamic
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited