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
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. Returnsnullif 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
protocolwith the IDid. Returnstrueif successful,falseotherwise. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited