Study class

The Study holds information about the study to be performed on this device. The study may be fetched in a StudyManager who knows how to fetch a study protocol for this device.

A Study mainly consists of a list of Tasks, which again consists of a list of Measures.



Study(String id, String userId, {String name, String description})
Study.fromJson(Map<String, dynamic> json)


c__ String
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
dataEndPoint DataEndPoint
Specify where and how to upload this study data.
read / write
description String
A longer description of this study. To be used to inform the user about this study and its purpose.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The ID of this Study.
read / write
name String
A printer-friendly name for this study.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tasks List<Task>
The list of Tasks in this Study.
read / write
userId String
The ID of the user executing this study. May be null if no user is known.
read / write


addTask(Task task) → void
Add a Task to this Study
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
Return a JSON encoding of this object.
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]

Static Properties

fromJsonFunction Function