getBy method Null safety

Future<StudyProtocol> getBy(
  1. StudyProtocolId protocolId,
  2. [String? versionTag]
)

Return the StudyProtocol with the specified protocolId,

versionTag is the tag of the specific version of the protocol to return. The latest version is returned when not specified.

Implementation

Future<StudyProtocol> getBy(StudyProtocolId protocolId, [String? versionTag]);