setParticipantData abstract method
Set data that was inputByParticipantRole in the study deployment with
studyDeploymentId.
If inputByParticipantRole is null, all roles can set it.
If you want to set data that was assigned to a specific participant role,
inputByParticipantRole needs to be set.
Returns all data for the specified study deployment, including the newly set data.
Implementation
Future<ParticipantData> setParticipantData(
  String studyDeploymentId,
  Map<String, Data> data, [
  String? inputByParticipantRole,
]);