buildQueries method
Runs through all queries and adds them to a query string
Implementation
String buildQueries(List<MapEntry<String, dynamic>> queries) {
String queryBuilder = '';
for (final MapEntry<String, dynamic> item in queries) {
if (item == queries.first) {
queryBuilder += item.value;
} else {
queryBuilder += ',${item.value}';
}
}
return queryBuilder;
}