ParticipantPermissions constructor

const ParticipantPermissions({
  1. required bool hasPresence,
  2. required Set<CanSendPermission> canSend,
  3. required Set<CanAdminPermission> canAdmin,
})

Implementation

const factory ParticipantPermissions({
  /// Whether the participant has presence (i.e. whether they show up in others' participants()).
  required bool hasPresence,

  /// The kinds of media the participant is allowed to send.
  required Set<CanSendPermission> canSend,

  /// The kinds of admin tasks the participant is allowed to do.
  required Set<CanAdminPermission> canAdmin,
}) = _ParticipantPermissions;