dio_form_json 1.0.0 copy "dio_form_json: ^1.0.0" to clipboard
dio_form_json: ^1.0.0 copied to clipboard

Support upload files with JSON data for Dio

Settup #

Install dependency

dart pub add dio_form_json

Using #

Add DioFormJsonInterceptor into Dio.

dio.interceptors.add(DioFormJsonInterceptor())

Set contentType = 'multipart/form-json' or extra['form-json'] = true to convert input data to FormData.

0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Support upload files with JSON data for Dio

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio

More

Packages that depend on dio_form_json