I need to collect a link of this format : fd=1&td=2&test%5Btime%5D=10.
I have an array
Map<String, dynamic> jsonTest = {
'time': '10',
};
Map<String, dynamic> jsonMap = {
'fd': '1',
'td': '1',
'test': '$jsonTest'
};
When I try to build a query:
var request = Uri.parse("$link/api")
.resolveUri(Uri(queryParameters: jsonMap));
I get this query: fd=1&td=1&test=%7Btime%3A+10%7D in request.query;
How do I get a query in the form I described at the beginning of my question, thank you all in advance for your answers