SurveyCategoricalAnswer class

This schema represents categorical answers to a survey question.

OMH version 0.1 See survey-categorical-answer

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

SurveyCategoricalAnswer({required Map<String, String> value})
SurveyCategoricalAnswer.fromJson(Map<String, dynamic> json)
factory

Properties

descriptiveStatistic String?
getter/setter pairinherited
effectiveTimeFrame TimeFrame?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userNotes String?
getter/setter pairinherited
value Map<String, String>
The list of selected categories. For example, '1' -> 'Never' on a 7-point Likert scale. Note that this map supports the selection of multiple answers.
getter/setter pair

Methods

getAdditionalProperties() Map<String, Object>
Gets the additional properties.
inherited
getAdditionalProperty(String name) Object?
Gets an additional property.
inherited
getSchemaId() SchemaId
The schema this class corresponds to
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAdditionalProperty(String path, Object value) → void
Sets an additional property.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

SCHEMA_ID SchemaId
getter/setter pair