multipart_request 0.3.1 multipart_request: ^0.3.1 copied to clipboard
A flutter plugin to send a multipart request and get stream of progress.
multipart_request #
A flutter plugin to send a multipart request with get progress event. Works on both Android and iOS
Example #
var request = MultipartRequest();
request.addFile("image", imagePath);
Response response = request.send();
response.onError = () {
print("Error");
};
response.onComplete = (response) {
print(response);
};
response.progress.listen((int progress) {
print("progress from response object " + progress.toString());
});