OnUploadProgressCallback typedef Null safety

void OnUploadProgressCallback(
  1. int sentBytes,
  2. int totalBytes
)

Implementation

typedef OnUploadProgressCallback = void Function(int sentBytes, int totalBytes);