Currently, files can be uploaded by File, fileId or url.
I think uploading a file by bytes (Uint8List) should also be included as a shortcut, because getting a file via http returns bodyBytes, and in the current implementation I have to set up a temporary folder, then save that file on the disk, only for it to be processed right after saving and then deleted. It seems counterintuitive in this scenario.
Currently, files can be uploaded by
File
, fileId or url. I think uploading a file by bytes (Uint8List
) should also be included as a shortcut, because getting a file via http returns bodyBytes, and in the current implementation I have to set up a temporary folder, then save that file on the disk, only for it to be processed right after saving and then deleted. It seems counterintuitive in this scenario.