copyWith method

  1. @override
ChatEventVideoChatMuteNewParticipantsToggled copyWith({
  1. bool? muteNewParticipants,
})
override

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

Implementation

@override
ChatEventVideoChatMuteNewParticipantsToggled copyWith({
  bool? muteNewParticipants,
}) => ChatEventVideoChatMuteNewParticipantsToggled(
  muteNewParticipants: muteNewParticipants ?? this.muteNewParticipants,
);