autoParseQuery function
Auto-parses numbers in req.queryParameters
.
Implementation
RequestHandler autoParseQuery(List<String> fields) {
return (RequestContext req, res) async {
req.queryParameters.addAll(autoParse(req.queryParameters, fields));
return true;
};
}