updateParticipantDataConfiguration method

  1. @override
Future<StudyProtocol> updateParticipantDataConfiguration(
  1. String protocolId,
  2. String versionTag,
  3. List<ExpectedParticipantData> expectedParticipantData
)
override

Replace the expected participant data for the study protocol with the specified protocolId and versionTag with expectedParticipantData.

Returns the updated StudyProtocol.

Implementation

@override
Future<StudyProtocol> updateParticipantDataConfiguration(
  String protocolId,
  String versionTag,
  List<ExpectedParticipantData> expectedParticipantData,
) async =>
    StudyProtocol.fromJson(await _rpc(UpdateParticipantDataConfiguration(
      protocolId,
      versionTag,
      expectedParticipantData,
    )));