ProtocolService class abstract

Application service which allows managing (multiple versions of) StudyProtocols.

Constructors

ProtocolService()

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

add(StudyProtocol protocol, [String? versionTag]) Future<void>
Add the specified study protocol.
addVersion(StudyProtocol protocol, [String? versionTag]) Future<void>
Add a new version for the specified study protocol, of which a previous version with the same id, ownerId, and name is already stored.
getAllForOwner(String ownerId) Future<List<StudyProtocol>>
Find all StudyProtocol's owned by the owner with ownerId.
getBy(String protocolId, [String? versionTag]) Future<StudyProtocol>
Return the StudyProtocol with the specified protocolId,
getVersionHistoryFor(String protocolId) Future<List<ProtocolVersion>>
Returns all stored versions for the protocol with the specified protocolId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateParticipantDataConfiguration(String protocolId, String versionTag, List<ExpectedParticipantData> expectedParticipantData) Future<StudyProtocol>
Replace the expected participant data for the study protocol with the specified protocolId and versionTag with expectedParticipantData.

Operators

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

Constants

API_VERSION → const String