ProgressCallback typedef

ProgressCallback = void Function(int count, int total)

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, int total);