DownloadCallback typedef Null safety

DownloadCallback = void Function(int total, int current)

Implementation

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