ProgressCallback typedef

ProgressCallback = void Function(int count, String url)

Global typedef that returns a int with the current byte on download and another int with the total of bytes of the file.

Implementation

typedef ProgressCallback = void Function(int count, String url);