copyWith method
GroupCallParticipant
copyWith({
- MessageSender? participantId,
- int? audioSourceId,
- int? screenSharingAudioSourceId,
- GroupCallParticipantVideoInfo? videoInfo,
- GroupCallParticipantVideoInfo? screenSharingVideoInfo,
- String? bio,
- bool? isCurrentUser,
- bool? isSpeaking,
- bool? isHandRaised,
- bool? canBeMutedForAllUsers,
- bool? canBeUnmutedForAllUsers,
- bool? canBeMutedForCurrentUser,
- bool? canBeUnmutedForCurrentUser,
- bool? isMutedForAllUsers,
- bool? isMutedForCurrentUser,
- bool? canUnmuteSelf,
- int? volumeLevel,
- String? order,
Implementation
GroupCallParticipant copyWith({
MessageSender? participantId,
int? audioSourceId,
int? screenSharingAudioSourceId,
GroupCallParticipantVideoInfo? videoInfo,
GroupCallParticipantVideoInfo? screenSharingVideoInfo,
String? bio,
bool? isCurrentUser,
bool? isSpeaking,
bool? isHandRaised,
bool? canBeMutedForAllUsers,
bool? canBeUnmutedForAllUsers,
bool? canBeMutedForCurrentUser,
bool? canBeUnmutedForCurrentUser,
bool? isMutedForAllUsers,
bool? isMutedForCurrentUser,
bool? canUnmuteSelf,
int? volumeLevel,
String? order,
}) => GroupCallParticipant(
participantId: participantId ?? this.participantId,
audioSourceId: audioSourceId ?? this.audioSourceId,
screenSharingAudioSourceId: screenSharingAudioSourceId ?? this.screenSharingAudioSourceId,
videoInfo: videoInfo ?? this.videoInfo,
screenSharingVideoInfo: screenSharingVideoInfo ?? this.screenSharingVideoInfo,
bio: bio ?? this.bio,
isCurrentUser: isCurrentUser ?? this.isCurrentUser,
isSpeaking: isSpeaking ?? this.isSpeaking,
isHandRaised: isHandRaised ?? this.isHandRaised,
canBeMutedForAllUsers: canBeMutedForAllUsers ?? this.canBeMutedForAllUsers,
canBeUnmutedForAllUsers: canBeUnmutedForAllUsers ?? this.canBeUnmutedForAllUsers,
canBeMutedForCurrentUser: canBeMutedForCurrentUser ?? this.canBeMutedForCurrentUser,
canBeUnmutedForCurrentUser: canBeUnmutedForCurrentUser ?? this.canBeUnmutedForCurrentUser,
isMutedForAllUsers: isMutedForAllUsers ?? this.isMutedForAllUsers,
isMutedForCurrentUser: isMutedForCurrentUser ?? this.isMutedForCurrentUser,
canUnmuteSelf: canUnmuteSelf ?? this.canUnmuteSelf,
volumeLevel: volumeLevel ?? this.volumeLevel,
order: order ?? this.order,
);