Support upload files with JSON data for Dio
More...
Install dependency
dart pub add dio_form_json
Add DioFormJsonInterceptor into Dio.
DioFormJsonInterceptor
dio.interceptors.add(DioFormJsonInterceptor())
Set contentType = 'multipart/form-json' or extra['form-json'] = true to convert input data to FormData.
unverified uploader
HomepageRepository (GitHub)View/report issues
API reference
MIT (license)
dio
Packages that depend on dio_form_json
Back