copyWith method

GroupCall copyWith({
  1. int? id,
  2. String? title,
  3. int? scheduledStartDate,
  4. bool? enabledStartNotification,
  5. bool? isActive,
  6. bool? isJoined,
  7. bool? needRejoin,
  8. bool? canBeManaged,
  9. int? participantCount,
  10. bool? loadedAllParticipants,
  11. List<GroupCallRecentSpeaker>? recentSpeakers,
  12. bool? isMyVideoEnabled,
  13. bool? isMyVideoPaused,
  14. bool? canEnableVideo,
  15. bool? muteNewParticipants,
  16. bool? canToggleMuteNewParticipants,
  17. int? recordDuration,
  18. bool? isVideoRecorded,
  19. int? duration,
  20. dynamic extra,
  21. int? clientId,
})

Implementation

GroupCall copyWith({
  int? id,
  String? title,
  int? scheduledStartDate,
  bool? enabledStartNotification,
  bool? isActive,
  bool? isJoined,
  bool? needRejoin,
  bool? canBeManaged,
  int? participantCount,
  bool? loadedAllParticipants,
  List<GroupCallRecentSpeaker>? recentSpeakers,
  bool? isMyVideoEnabled,
  bool? isMyVideoPaused,
  bool? canEnableVideo,
  bool? muteNewParticipants,
  bool? canToggleMuteNewParticipants,
  int? recordDuration,
  bool? isVideoRecorded,
  int? duration,
  dynamic extra,
  int? clientId,
}) => GroupCall(
  id: id ?? this.id,
  title: title ?? this.title,
  scheduledStartDate: scheduledStartDate ?? this.scheduledStartDate,
  enabledStartNotification: enabledStartNotification ?? this.enabledStartNotification,
  isActive: isActive ?? this.isActive,
  isJoined: isJoined ?? this.isJoined,
  needRejoin: needRejoin ?? this.needRejoin,
  canBeManaged: canBeManaged ?? this.canBeManaged,
  participantCount: participantCount ?? this.participantCount,
  loadedAllParticipants: loadedAllParticipants ?? this.loadedAllParticipants,
  recentSpeakers: recentSpeakers ?? this.recentSpeakers,
  isMyVideoEnabled: isMyVideoEnabled ?? this.isMyVideoEnabled,
  isMyVideoPaused: isMyVideoPaused ?? this.isMyVideoPaused,
  canEnableVideo: canEnableVideo ?? this.canEnableVideo,
  muteNewParticipants: muteNewParticipants ?? this.muteNewParticipants,
  canToggleMuteNewParticipants: canToggleMuteNewParticipants ?? this.canToggleMuteNewParticipants,
  recordDuration: recordDuration ?? this.recordDuration,
  isVideoRecorded: isVideoRecorded ?? this.isVideoRecorded,
  duration: duration ?? this.duration,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);