sendFiles method

Future<void> sendFiles(
  1. String objectType,
  2. dynamic objectId,
  3. String fileName,
  4. List<String> filePaths,
)

Implementation

Future<void> sendFiles(String objectType, dynamic objectId, String fileName, List<String> filePaths) {
  return apiMultipartPost("/api/$objectType/$objectId/$fileName", null, filePaths).then((value) {
    debug("ENTER sendFile success multipart");
  }).catchError((err) {
    debug("ENTER sendFile err ${err.toString()} multipart");
  });
}