copyWith method

ToggleDownloadIsPaused copyWith({
  1. int? fileId,
  2. bool? isPaused,
})

Implementation

ToggleDownloadIsPaused copyWith({
  int? fileId,
  bool? isPaused,
}) =>
    ToggleDownloadIsPaused(
      fileId: fileId ?? this.fileId,
      isPaused: isPaused ?? this.isPaused,
    );