Added appropriate tests for the new codegen.

This commit is contained in:
morpheus-30
2023-06-23 12:54:57 +05:30
parent 637ca36fef
commit 1990622bce
2 changed files with 136 additions and 1 deletions

View File

@ -49,7 +49,7 @@ print(data.decode("utf-8"))
result += "?";
for (final queryParam in requestModel.requestParams!) {
result +=
"${queryParam.k.replaceAll(" ", "%20")}=${queryParam.v.replaceAll(" ", "%20")}&";
"${queryParam.k.toString().replaceAll(" ", "%20")}=${queryParam.v.toString().replaceAll(" ", "%20")}&";
}
return result.substring(0, result.length - 1);
}