CarpStudyProtocolManager class

Retrieve and store SmartphoneStudyProtocol json definitions at the CARP backend.

In the CARP web service, a study protocol is modelled as a custom protcol, which has only one taks, namely a CustomProtocolTask. This custom task hold the raw json desription of a SmartphoneStudyProtocol.

Constructors

CarpStudyProtocolManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStudyProtocol(String studyDeploymentId) Future<SmartphoneStudyProtocol>
Get a SmartphoneStudyProtocol from the CARP backend.
override
initialize() Future
Initialize the study manager.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveStudyProtocol(String studyId, SmartphoneStudyProtocol protocol) Future<bool>
Upload a study protocol to the CARP web server.
override
toString() String
A string representation of this object.
inherited

Operators

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