copyWith method

DownloadFileRequest copyWith({
  1. String? key,
  2. File? local,
  3. DownloadFileOptions? options,
})

Implementation

DownloadFileRequest copyWith({
  String? key,
  File? local,
  DownloadFileOptions? options,
}) {
  return DownloadFileRequest._(
    uuid: uuid,
    key: key ?? this.key,
    local: local ?? this.local,
    options: options ?? this.options,
  );
}