DownloadFileResponse constructor

DownloadFileResponse({
  1. List<int>? bytes,
  2. ResponseError? error,
})

Builds a DownloadFileResponse

bytes: The bytes of the file error: An error if there was error while fetching the file

Implementation

DownloadFileResponse({this.bytes, super.error});