OnProgress typedef

OnProgress = dynamic Function(String? fileName, double progress)

fileName the output file name that will be stored in downloads directory progress the download progress

Implementation

typedef OnProgress = Function(String? fileName, double progress);