copyWith method

DownloadFileOptions copyWith({
  1. String? downloadUrl,
  2. String? fileName,
  3. String? customSavePath,
})

Implementation

DownloadFileOptions copyWith({
  String? downloadUrl,
  String? fileName,
  String? customSavePath,
}) {
  return DownloadFileOptions(
    downloadUrl: downloadUrl ?? this.downloadUrl,
    fileName: fileName ?? this.fileName,
    customSavePath: customSavePath ?? this.customSavePath,
  );
}