setDownloadFile method

void setDownloadFile(
  1. String file
)

Updates the selected file for download.

Implementation

void setDownloadFile(String file) {
  state = state.copyWith(downloadFile: file);
}