-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
b: regressionWorked before but not nowWorked before but not nowfixedp: dioTargeting `dio` packageTargeting `dio` packages: bugSomething isn't workingSomething isn't working
Description
Package
dio
Version
5.0.2
Output of flutter doctor -v
No response
Dart Version
2.19.2
Steps to Reproduce
Future<FormData> mapToFormData(
Map<String, dynamic> formData,
) async {
try {
return FormData.fromMap(formData);
} catch (e) {
rethrow;
}
}
Expected Result
The above code should return request body as:
- item[0][product_size_id]: 14
Actual Result
Instead of the expected result the code is returning request body as:
- items%5B0%5D%5Bproduct_size_id%5D: 14
Metadata
Metadata
Assignees
Labels
b: regressionWorked before but not nowWorked before but not nowfixedp: dioTargeting `dio` packageTargeting `dio` packages: bugSomething isn't workingSomething isn't working