StudyProtocolManager class Null safety

An interface defining a manger of SmartphoneStudyProtocols.

Is mainly used to get and save SmartphoneStudyProtocols. See FileStudyProtocolManager for an example.

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<SmartphoneStudyProtocol?>
Get a SmartphoneStudyProtocol based on its ID. Returns null if no protocol with studyId exists.
initialize() Future
Initialize the study manager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
saveStudyProtocol(String studyId, SmartphoneStudyProtocol protocol) Future<bool>
Save a SmartphoneStudyProtocol 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