sendFile method

Future<void> sendFile(
  1. String objectType,
  2. dynamic objectId,
  3. String fileName,
  4. File file,
)

Implementation

Future<void> sendFile(String objectType, dynamic objectId, String fileName, File file) {
  return apiPostFile("/api/$objectType/$objectId/$fileName", file);
}