Survey class

This schema represents a survey as an array of at least one survey item (the combination of a question and the list of its possible answers).

OMH version 0.1 See survey

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

Constructors

Survey({required SurveyDeliveryDetails deliveryDetails, UnitValue? score})
Survey.fromJson(Map<String, dynamic> json)
factory

Properties

deliveryDetails SurveyDeliveryDetails
The operational details of delivering this survey.
getter/setter pair
descriptiveStatistic String?
getter/setter pairinherited
effectiveTimeFrame TimeFrame?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
items List<SurveyItem>
The list of questions and answers that make up this survey.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score UnitValue?
The score calculated for the survey.
getter/setter pair
userNotes String?
getter/setter pairinherited

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
final