SurveyAnswer class
A single user answer. values holds the comparable tokens used by branching
(option ids, or [score], or [text]); comment holds free text such as
an "other" option's note.
Constructors
-
SurveyAnswer({List<
String> values = const [], String? comment}) -
const
Properties
Methods
-
asNumber(
) → double? -
Numeric view of a scalar answer (score / numeric input), or
null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited