Skip to content

ParticipantInvitation

The information which needs to be provided when inviting a participant to a deployment.

Passed to DeploymentService.createStudyDeployment.

Annotations

Constructors

ParticipantInvitation.fromJson

ParticipantInvitation.fromJson(
  1. Map<String, dynamic> json
)

ParticipantInvitation

ParticipantInvitation({
  1. String? participantId,
  2. required AssignedTo assignedRoles,
  3. required AccountIdentity identity,
  4. required StudyInvitation invitation,
})

Properties

assignedRoles

AssignedTo assignedRoles
getter/setter pair

The participant roles in the study protocol which the participant is assigned to.

identity

AccountIdentity identity
getter/setter pair

The identity used to authenticate and invite the participant.

invitation

StudyInvitation invitation
getter/setter pair

A description of the study which is shared with the participant.

participantId

String participantId
getter/setter pair

An ID for the participant, uniquely assigned by the calling service. A random UUID (v4) if not specified.

Methods

toJson

Map<String, dynamic> toJson()