retrofit.dart
retrofit.dart copied to clipboard
add support for retrofit generator to generate RequestBody Stream<List<int>> from application/octet-stream with binary format declaration
Hi i'm using retrofit generator to generate API in flutter, but now it's not supporting for request type application/octet-stream with binary format.
here my declaration:
but generator generate @Body() MultipartFile type instead of @Body() Stream<List<int**
Did you try @Body() List