ParticipantPermissions constructor Null safety

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

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,
}) = _ParticipantPermissions;