DownloadError constructor

const DownloadError(
  1. String message, [
  2. Object? error
])

Implementation

const DownloadError(this.message, [this.error]);