addParticipantRole method
Add a participant role which can be assigned to participants in the study.
Returns true if the role
has been added; false in case the same role
has already been added before.
Implementation
bool addParticipantRole(ParticipantRole role) =>
(participantRoles ??= {}).add(role);