HealthSurveyQuestion class
Represents a single health survey question.
Constructors
-
HealthSurveyQuestion({required String question, required String fieldName, required HealthDataType type, List<
String> ? options, String? unit, double? min, double? max, bool isRequired = true})
Properties
- fieldName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequired → bool
-
final
- max → double?
-
final
- min → double?
-
final
-
options
→ List<
String> ? -
final
- question → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → HealthDataType
-
final
- unit → String?
-
final
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