copyWith method
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,
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,
);