LocalDownloadFilePaths class

Paths to the files related to a download process in a local dir.

Returned by `get_local_download_paths`.

Attributes: file_path (Path): Path where the file will be saved. lock_path (Path): Path to the lock file used to ensure atomicity when reading/writing metadata. metadata_path (Path): Path to the metadata file.

Constructors

LocalDownloadFilePaths({required String filePath, required String lockPath, required String metadataPath})

Properties

filePath String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lockPath String
getter/setter pair
metadataPath String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

incompletePath(String etag) String
Return the path where a file will be temporarily downloaded before being moved to file_path.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited