copyWith method
GroupCall
copyWith({
- int? id,
- int? uniqueId,
- String? title,
- String? inviteLink,
- int? paidMessageStarCount,
- int? scheduledStartDate,
- bool? enabledStartNotification,
- bool? isActive,
- bool? isVideoChat,
- bool? isLiveStory,
- bool? isRtmpStream,
- bool? isJoined,
- bool? needRejoin,
- bool? isOwned,
- bool? canBeManaged,
- int? participantCount,
- bool? hasHiddenListeners,
- bool? loadedAllParticipants,
- MessageSender? messageSenderId,
- List<
GroupCallRecentSpeaker> ? recentSpeakers, - bool? isMyVideoEnabled,
- bool? isMyVideoPaused,
- bool? canEnableVideo,
- bool? muteNewParticipants,
- bool? canToggleMuteNewParticipants,
- bool? canSendMessages,
- bool? areMessagesAllowed,
- bool? canToggleAreMessagesAllowed,
- bool? canDeleteMessages,
- int? recordDuration,
- bool? isVideoRecorded,
- int? duration,
Implementation
GroupCall copyWith({
int? id,
int? uniqueId,
String? title,
String? inviteLink,
int? paidMessageStarCount,
int? scheduledStartDate,
bool? enabledStartNotification,
bool? isActive,
bool? isVideoChat,
bool? isLiveStory,
bool? isRtmpStream,
bool? isJoined,
bool? needRejoin,
bool? isOwned,
bool? canBeManaged,
int? participantCount,
bool? hasHiddenListeners,
bool? loadedAllParticipants,
MessageSender? messageSenderId,
List<GroupCallRecentSpeaker>? recentSpeakers,
bool? isMyVideoEnabled,
bool? isMyVideoPaused,
bool? canEnableVideo,
bool? muteNewParticipants,
bool? canToggleMuteNewParticipants,
bool? canSendMessages,
bool? areMessagesAllowed,
bool? canToggleAreMessagesAllowed,
bool? canDeleteMessages,
int? recordDuration,
bool? isVideoRecorded,
int? duration,
}) => GroupCall(
id: id ?? this.id,
uniqueId: uniqueId ?? this.uniqueId,
title: title ?? this.title,
inviteLink: inviteLink ?? this.inviteLink,
paidMessageStarCount: paidMessageStarCount ?? this.paidMessageStarCount,
scheduledStartDate: scheduledStartDate ?? this.scheduledStartDate,
enabledStartNotification:
enabledStartNotification ?? this.enabledStartNotification,
isActive: isActive ?? this.isActive,
isVideoChat: isVideoChat ?? this.isVideoChat,
isLiveStory: isLiveStory ?? this.isLiveStory,
isRtmpStream: isRtmpStream ?? this.isRtmpStream,
isJoined: isJoined ?? this.isJoined,
needRejoin: needRejoin ?? this.needRejoin,
isOwned: isOwned ?? this.isOwned,
canBeManaged: canBeManaged ?? this.canBeManaged,
participantCount: participantCount ?? this.participantCount,
hasHiddenListeners: hasHiddenListeners ?? this.hasHiddenListeners,
loadedAllParticipants: loadedAllParticipants ?? this.loadedAllParticipants,
messageSenderId: messageSenderId ?? this.messageSenderId,
recentSpeakers: recentSpeakers ?? this.recentSpeakers,
isMyVideoEnabled: isMyVideoEnabled ?? this.isMyVideoEnabled,
isMyVideoPaused: isMyVideoPaused ?? this.isMyVideoPaused,
canEnableVideo: canEnableVideo ?? this.canEnableVideo,
muteNewParticipants: muteNewParticipants ?? this.muteNewParticipants,
canToggleMuteNewParticipants:
canToggleMuteNewParticipants ?? this.canToggleMuteNewParticipants,
canSendMessages: canSendMessages ?? this.canSendMessages,
areMessagesAllowed: areMessagesAllowed ?? this.areMessagesAllowed,
canToggleAreMessagesAllowed:
canToggleAreMessagesAllowed ?? this.canToggleAreMessagesAllowed,
canDeleteMessages: canDeleteMessages ?? this.canDeleteMessages,
recordDuration: recordDuration ?? this.recordDuration,
isVideoRecorded: isVideoRecorded ?? this.isVideoRecorded,
duration: duration ?? this.duration,
);