StudyProtocolManager class abstract

Gets and saves SmartphoneStudyProtocols, e.g. from local files or a server.

Apps implement it to load the protocol they run. See FileStudyProtocolManager for an example.

Implementers

Constructors

StudyProtocolManager()

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 id) → Future<SmartphoneStudyProtocol?>
Gets a SmartphoneStudyProtocol based on its id. Returns null if no protocol exists.
initialize() → void
Initializes this manager. Call it before any other method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveStudyProtocol(String id, SmartphoneStudyProtocol protocol) → Future<bool>
Saves protocol with the ID id. Returns true if successful, false otherwise.
toString() → String
A string representation of this object.
inherited

Operators

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