role property
Role
role
Gets the role of this participant, defaults to Role.requiredParticipant
Implementation
Role get role =>
getParameterValue<Role>(ParameterType.participantRole) ??
Role.requiredParticipant;
Sets the role of this participant
Implementation
set role(Role? value) => setOrRemoveParameter(
ParameterType.participantRole,
ParticipantRoleParameter.create(
ParameterType.participantRole.typeName ?? '',
value,
),
);