FilepathConflictHandler typedef

FilepathConflictHandler = Future<DownloadConflictBehavior> Function(String filepath)

The signature for handling filepath conflict, used by DownloadOption and downloadFile.

Implementation

typedef FilepathConflictHandler = Future<DownloadConflictBehavior> Function(String filepath);