copyWith method

  1. @override
UpdateFileDownloads copyWith({
  1. int? totalSize,
  2. int? totalCount,
  3. int? downloadedSize,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateFileDownloads copyWith({
  int? totalSize,
  int? totalCount,
  int? downloadedSize,
  dynamic extra,
  int? clientId,
}) =>
    UpdateFileDownloads(
      totalSize: totalSize ?? this.totalSize,
      totalCount: totalCount ?? this.totalCount,
      downloadedSize: downloadedSize ?? this.downloadedSize,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );