copyWith method

VideoTileInfo copyWith({
  1. int? tileId,
  2. String? attendeeId,
  3. int? videoStreamContentWidth,
  4. int? videoStreamContentHeight,
  5. bool? isLocalTile,
  6. bool? isContentShare,
})

Implementation

VideoTileInfo copyWith({
  int? tileId,
  String? attendeeId,
  int? videoStreamContentWidth,
  int? videoStreamContentHeight,
  bool? isLocalTile,
  bool? isContentShare,
}) {
  return VideoTileInfo(
    tileId: tileId ?? this.tileId,
    attendeeId: attendeeId ?? this.attendeeId,
    videoStreamContentWidth: videoStreamContentWidth ?? this.videoStreamContentWidth,
    videoStreamContentHeight: videoStreamContentHeight ?? this.videoStreamContentHeight,
    isLocalTile: isLocalTile ?? this.isLocalTile,
    isContentShare: isContentShare ?? this.isContentShare,
  );
}