onProgress property

void Function(int bytesReceived, int? totalBytes)? onProgress
final

Optional progress callback: (bytesDownloaded, totalBytes).

Implementation

final void Function(int bytesReceived, int? totalBytes)? onProgress;