toFile method
Create a MultipartFile
from the attachment
Implementation
MultipartFile toFile(int id) => MultipartFile.fromBytes("files[$id]", content, filename: filename);
Create a MultipartFile
from the attachment
MultipartFile toFile(int id) => MultipartFile.fromBytes("files[$id]", content, filename: filename);