setParticipantData method
Set participant data
for the given inputByParticipantRole
in this
study deployment.
If inputByParticipantRole
is null, all roles can set it.
Returns all data for the specified study deployment, including the newly set data.
Implementation
Future<ParticipantData> setParticipantData(
Map<String, Data> data, [
String? inputByParticipantRole,
]) async =>
ParticipantData.fromJson(await _rpc(
SetParticipantData(studyDeploymentId, data, inputByParticipantRole)));