copyWith method

UpdateFileDownloads copyWith({
  1. int? totalSize,
  2. int? totalCount,
  3. int? downloadedSize,
})

Implementation

UpdateFileDownloads copyWith({
  int? totalSize,
  int? totalCount,
  int? downloadedSize,
}) =>
    UpdateFileDownloads(
      totalSize: totalSize ?? this.totalSize,
      totalCount: totalCount ?? this.totalCount,
      downloadedSize: downloadedSize ?? this.downloadedSize,
    );