Reports bytes transferred during an upload or download.
typedef ProgressCallback = void Function(int sent, int total);