copyWith method

ToggleGroupCallMuteNewParticipants 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

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