removeInformedConsent method

Future<void> removeInformedConsent([
  1. String? inputByParticipantRole
])

Remove the informed for the given inputByParticipantRole in this study deployment. If inputByParticipantRole is not specified, the role of the participant in the current deployment is used.

Implementation

Future<void> removeInformedConsent([String? inputByParticipantRole]) async {
  ParticipantData.fromJson(await _rpc(SetParticipantData(
    studyDeploymentId,
    {InformedConsentInput.type: null},
    getParticipantRoleName(inputByParticipantRole),
  )));
}