copyWith method

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

Implementation

GroupCall copyWith({
  int? id,
  String? title,
  int? scheduledStartDate,
  bool? enabledStartNotification,
  bool? isActive,
  bool? isRtmpStream,
  bool? isJoined,
  bool? needRejoin,
  bool? canBeManaged,
  int? participantCount,
  bool? hasHiddenListeners,
  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,
      isRtmpStream: isRtmpStream ?? this.isRtmpStream,
      isJoined: isJoined ?? this.isJoined,
      needRejoin: needRejoin ?? this.needRejoin,
      canBeManaged: canBeManaged ?? this.canBeManaged,
      participantCount: participantCount ?? this.participantCount,
      hasHiddenListeners: hasHiddenListeners ?? this.hasHiddenListeners,
      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,
    );