copyWith method

DownloadFile copyWith({
  1. int? fileId,
  2. int? priority,
  3. int? offset,
  4. int? limit,
  5. bool? synchronous,
})

Implementation

DownloadFile copyWith({
  int? fileId,
  int? priority,
  int? offset,
  int? limit,
  bool? synchronous,
}) => DownloadFile(
  fileId: fileId ?? this.fileId,
  priority: priority ?? this.priority,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
  synchronous: synchronous ?? this.synchronous,
);