uploadFile abstract method
- @POST('/files/upload')
- @MultiPart()
- @Part(value: 'documents') File files, {
- @SendProgress() required ProgressCallback onSendProgress,
FILE UPLOAD
Implementation
@POST('/files/upload')
@MultiPart()
Future<FileUploadResponse> uploadFile(
@Part(value: 'documents') File files, {
@SendProgress() required ProgressCallback onSendProgress,
});