OnProgress typedef

OnProgress = void Function(int current, int total)

进度监听器

current为当前已传输字节,total为总传输字节

Implementation

typedef OnProgress = void Function(int current, int total);