http_wrap 1.1.4
http_wrap: ^1.1.4 copied to clipboard
A lightweight Dart and Flutter HTTP wrapper with shared configuration, multipart uploads, and unified responses.
1.1.4 #
- Refreshed package and example documentation to match the current
fields,queryParams, andrequestFilesAPI. - Improved generated plugin comments and package metadata to better describe the Dart-first request flow.
- Cleaned up internal library part declarations for request file and response types without changing the public API.
1.1.3 #
- Added another fix to remove fields with empty or null value for multipart request
1.1.2 #
- Removed empty fields for for request field request data
1.1.1 #
- Fixed multipart form field serialization for complex values.
- Multipart
fieldsvalues that areListorMapare now JSON-encoded before sending. - Added documentation notes clarifying multipart serialization behavior.
1.1.0 #
- Added
requestFilessupport for multipart uploads usingRequestFileFromPath,RequestFileFromBytes, andRequestFileFromString. - Deprecated the
filesparameter inrequest()in favor ofrequestFiles. - Kept backward compatibility for
filesso existing integrations continue to work. - Updated multipart request handling so requests switch to multipart mode when
requestFilesis provided. - Refactored request file type handling to clearer Dart pattern matching.
1.0.0 #
- Initial release of the
http_wrapplugin. - Added a simple request wrapper with support for headers, query params, and request body fields.
- Added multipart/form-data support for file uploads.
- Added unified
HttpResponsehandling with optional error metadata (errorCode,errorData).