Change fileName from optional to required parameter of http.MultipartFile.fromBytes
Open
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
Hello developers,
I am using http.MultipartFile.fromBytes to send a file to my nodejs backend server
I noticed that fileName is an optional parameter of the method.
but when not assigned, the method work but no file delivered to the server.
I suggest you change fileName to be a required parameter of fromBytes() method.
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.