Skip to content

Participation

Uniquely identifies the participation of an account in a study deployment.

Part of an ActiveParticipationInvitation.

Annotations

Constructors

Participation.fromJson

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

Participation

Participation(
  1. String studyDeploymentId,
  2. String participantId,
  3. AssignedTo assignedRoles
)

Properties

assignedRoles

AssignedTo assignedRoles
getter/setter pair

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

participantId

String participantId
getter/setter pair

Unique id for the participant in this participation.

studyDeploymentId

String studyDeploymentId
getter/setter pair

The CARP study deployment ID.

Methods

toJson

Map<String, dynamic> toJson()

toString

String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.