StudyDescription
A human-readable description of a study: title, purpose, and who runs it.
Stored as SmartphoneStudyProtocol.studyDescription and copied to each SmartphoneDeployment, so the app can show it to the participant.
- Inheritance
-
- Object
- Serializable
- StudyDescription
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
StudyDescription.fromJson
StudyDescription
Properties
description
The description of this study.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
privacyPolicyUrl
The URL pointing to a web page with the privacy policy of this study.
purpose
The purpose of the study. To be used to inform the user about this study and its purpose.
responsible
The principal investigator (PI) responsible for this study.
studyDescriptionUrl
The URL pointing to a web page description of this study.
title
A longer printer-friendly title for this study.
Methods
toJson
Return a JSON encoding of this object.
toString
A string representation of this object.
Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.
Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.