docUpload abstract method

  1. @POST(Api.docUpload)
  2. @MultiPart()
Future<GenericUploadResponse> docUpload({
  1. @Header("content-type") String type = "image/png",
  2. @Part() File? file,
})

Implementation

@POST(Api.docUpload)
@MultiPart()
Future<GenericUploadResponse> docUpload({
  @Header("content-type") String type = "image/png",
  @Part() File? file,
});