correction of compilation error

This commit is contained in:
Nishant Kumar
2024-03-21 11:19:46 +05:30
parent 20c8ee3210
commit 842e67eab5
2 changed files with 92 additions and 45 deletions

View File

@ -53,7 +53,7 @@ int main() {
String kTemplateHeader = """
{% if headers %}{% for header, value in headers %}
headers = curl_slist_append(headers,"{{header}}: {{value}}") {% endfor %}
headers = curl_slist_append(headers,"{{header}}: {{value}}"); {% endfor %}
{% endif %}
""";
String kTemplateHeaderEnd = """
@ -147,9 +147,7 @@ int main() {
"fields": requestModel.formDataMapList,
});
}
if(requestModel.hasTextData){
}
if (requestModel.hasTextData) {}
if (uri.hasQuery) {
var params = uri.queryParameters;
if (params.isNotEmpty) {