MultipartFile constructor
MultipartFile(})
Implementation
MultipartFile(
dynamic data, {
required this.filename,
this.contentType = 'application/octet-stream',
}) : _bytes = fileToBytes(data) {
_length = _bytes.length;
_stream = _bytes.toStream();
}