LocalFile constructor

const LocalFile({
  1. required String path,
  2. required bool canBeDownloaded,
  3. required bool canBeDeleted,
  4. required bool isDownloadingActive,
  5. required bool isDownloadingCompleted,
  6. required int downloadOffset,
  7. required int downloadedPrefixSize,
  8. required int downloadedSize,
})

Represents a local file

Implementation

const LocalFile({
  required this.path,
  required this.canBeDownloaded,
  required this.canBeDeleted,
  required this.isDownloadingActive,
  required this.isDownloadingCompleted,
  required this.downloadOffset,
  required this.downloadedPrefixSize,
  required this.downloadedSize,
});