CallParticipant constructor

const CallParticipant({
  1. required int uid,
  2. required String userId,
  3. required String name,
  4. String? avatarUrl,
  5. bool isLocal = false,
  6. bool isMuted = false,
  7. bool isVideoEnabled = true,
  8. bool isSpeaking = false,
  9. bool isConnected = true,
  10. DateTime? joinedAt,
  11. DateTime? leftAt,
})

Implementation

const CallParticipant({
  required this.uid,
  required this.userId,
  required this.name,
  this.avatarUrl,
  this.isLocal = false,
  this.isMuted = false,
  this.isVideoEnabled = true,
  this.isSpeaking = false,
  this.isConnected = true,
  this.joinedAt,
  this.leftAt,
});