copyWith method

Attendee copyWith({
  1. String? attendeeId,
  2. String? externalUserId,
  3. bool? muteStatus,
  4. bool? isVideoOn,
  5. VideoTileInfo? videoTileInfo,
})

Implementation

Attendee copyWith({
  String? attendeeId,
  String? externalUserId,
  bool? muteStatus,
  bool? isVideoOn,
  VideoTileInfo? videoTileInfo,
}) {
  return Attendee(
    attendeeId: attendeeId ?? this.attendeeId,
    externalUserId: externalUserId ?? this.externalUserId,
    muteStatus: muteStatus ?? this.muteStatus,
    isVideoOn: isVideoOn ?? this.isVideoOn,
    videoTileInfo: videoTileInfo ?? this.videoTileInfo,
  );
}