StudyProtocolManager class abstract
An interface defining a manger of SmartphoneStudyProtocols.
Is mainly used to get and save SmartphoneStudyProtocols. 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?> -
Get a SmartphoneStudyProtocol based on its
id
. Returnsnull
if no protocol exists. -
initialize(
) → Future< void> - Initialize the study manager.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveStudyProtocol(
String id, SmartphoneStudyProtocol protocol) → Future< bool> -
Save a SmartphoneStudyProtocol with the ID
id
. Returnstrue
if successful,false
otherwise. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited