copyWith method

JoinGroupCall copyWith({
  1. int? groupCallId,
  2. MessageSender? participantId,
  3. int? audioSourceId,
  4. String? payload,
  5. bool? isMuted,
  6. bool? isMyVideoEnabled,
  7. String? inviteHash,
})

Implementation

JoinGroupCall copyWith({
  int? groupCallId,
  MessageSender? participantId,
  int? audioSourceId,
  String? payload,
  bool? isMuted,
  bool? isMyVideoEnabled,
  String? inviteHash,
}) =>
    JoinGroupCall(
      groupCallId: groupCallId ?? this.groupCallId,
      participantId: participantId ?? this.participantId,
      audioSourceId: audioSourceId ?? this.audioSourceId,
      payload: payload ?? this.payload,
      isMuted: isMuted ?? this.isMuted,
      isMyVideoEnabled: isMyVideoEnabled ?? this.isMyVideoEnabled,
      inviteHash: inviteHash ?? this.inviteHash,
    );