participantRoleName property

String? get participantRoleName

The first role name of the participant; null if assigned to all roles.

Implementation

String? get participantRoleName => participation.assignedRoles.roleNames?.first;