ProtocolService class Null safety

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




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


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


operator ==(Object other) bool
The equality operator. [...]