copyWith method

ToggleVideoChatMuteNewParticipants copyWith({
  1. int? groupCallId,
  2. bool? muteNewParticipants,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

ToggleVideoChatMuteNewParticipants copyWith({
  int? groupCallId,
  bool? muteNewParticipants,
}) => ToggleVideoChatMuteNewParticipants(
  groupCallId: groupCallId ?? this.groupCallId,
  muteNewParticipants: muteNewParticipants ?? this.muteNewParticipants,
);