SmartphoneStudy.fromInvitation constructor
SmartphoneStudy.fromInvitation(
- ActiveParticipationInvitation invitation
Create a new study based on an invitation
.
Implementation
SmartphoneStudy.fromInvitation(ActiveParticipationInvitation invitation)
: this(
studyId: invitation.studyId,
studyDeploymentId: invitation.studyDeploymentId,
deviceRoleName:
invitation.deviceRoleName ?? Smartphone.DEFAULT_ROLE_NAME,
participantId: invitation.participantId,
participantRoleName: invitation.participantRoleName,
);