StudyProtocolManager class

An interface defining a manger of a StudyProtocol.

Is mainly used to get and save a StudyProtocol. See FileStudyProtocol for an implementation which can load and save study json configurations on the local file system.

Implementers

Constructors

StudyProtocolManager()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getStudyProtocol(String studyId) Future<StudyProtocol>
Get a StudyProtocol based on its ID.
initialize() Future
Initialize the study manager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
saveStudyProtocol(String studyId, StudyProtocol protocol) Future<bool>
Save a StudyProtocol with the ID studyId. Returns true if successful, false otherwise.
toString() String
A string representation of this object. [...]
inherited

Operators

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