copyWith method

SearchFileDownloads copyWith({
  1. String? query,
  2. bool? onlyActive,
  3. bool? onlyCompleted,
  4. String? offset,
  5. int? limit,
})

Implementation

SearchFileDownloads copyWith({
  String? query,
  bool? onlyActive,
  bool? onlyCompleted,
  String? offset,
  int? limit,
}) =>
    SearchFileDownloads(
      query: query ?? this.query,
      onlyActive: onlyActive ?? this.onlyActive,
      onlyCompleted: onlyCompleted ?? this.onlyCompleted,
      offset: offset ?? this.offset,
      limit: limit ?? this.limit,
    );