Survey class

Constructors

Survey({required String uniqueId, required DateTime startDate, required DateTime endDate, required String description, required int snoozeForMinutes, required double samplingRate, required List<DashTool> excludeDashToolList, required List<Condition> conditionList, required List<SurveyButton> buttonList})
A data class that contains the relevant information for a given survey parsed from the survey's metadata file.
const
Survey.fromJson(Map<String, dynamic> json)
Parse the contents of the json metadata file hosted externally.

Properties

buttonList List<SurveyButton>
final
conditionList List<Condition>
final
description String
final
endDate DateTime
final
excludeDashToolList List<DashTool>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingRate double
final
snoozeForMinutes int
final
startDate DateTime
final
uniqueId 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.
override

Operators

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