FileMultipartExtensions extension
Native file uploads without buffering the whole file in memory.
- on
Methods
-
asMultipartPart(
{required String name, String? filename, String contentType = 'application/octet-stream'}) → Future< MultipartPart> -
Available on File, provided by the FileMultipartExtensions extension
Creates a one-shot streaming part. Do not modify the file during upload. One-shot semantics prevent automatic retries of a changing file.