copyWith method
ToggleGroupCallParticipantIsMuted
copyWith({
- int? groupCallId,
- MessageSender? participantId,
- bool? isMuted,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ToggleGroupCallParticipantIsMuted copyWith({
int? groupCallId,
MessageSender? participantId,
bool? isMuted,
}) =>
ToggleGroupCallParticipantIsMuted(
groupCallId: groupCallId ?? this.groupCallId,
participantId: participantId ?? this.participantId,
isMuted: isMuted ?? this.isMuted,
);