copyWith method

MessageGroupCall copyWith({
  1. int? uniqueId,
  2. bool? isActive,
  3. bool? wasMissed,
  4. bool? isVideo,
  5. int? duration,
  6. List<MessageSender>? otherParticipantIds,
})

Implementation

MessageGroupCall copyWith({
  int? uniqueId,
  bool? isActive,
  bool? wasMissed,
  bool? isVideo,
  int? duration,
  List<MessageSender>? otherParticipantIds,
}) => MessageGroupCall(
  uniqueId: uniqueId ?? this.uniqueId,
  isActive: isActive ?? this.isActive,
  wasMissed: wasMissed ?? this.wasMissed,
  isVideo: isVideo ?? this.isVideo,
  duration: duration ?? this.duration,
  otherParticipantIds: otherParticipantIds ?? this.otherParticipantIds,
);