ParticipantInvitation constructor

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

Implementation

ParticipantInvitation({
  String? participantId,
  required this.assignedRoles,
  required this.identity,
  required this.invitation,
}) : super() {
  this.participantId = participantId ?? const Uuid().v1;
}