It would be great to have a way to get the upload progress of multipart requests. An example of how to achieve this with http package can be found here.
Maybe by adding a new annotation? Something like:
@Post(path: '/file')
@Multipart()
Future<Response<void>> uploadFile(
@Query('filename') String fileName,
@PartFile() String filePath,
/// A callback that take the progress of the upload as a double between 0 and 1
@ProgressCallback() void Function(double) progressCallback,
);
It would be great to have a way to get the upload progress of multipart requests. An example of how to achieve this with http package can be found here.
Maybe by adding a new annotation? Something like: