uriQuery property
URI query
Implementation
// TODO(JKRhb): Apply proper percent-encoding
String get uriQuery => getOptions<UriQueryOption>()
.map((final option) => option.value.replaceAll('&', '%26'))
.join('&');
Set a URI query
Implementation
set uriQuery(final String fullQuery) {
var trimmedQuery = fullQuery;
if (trimmedQuery.startsWith('?')) {
trimmedQuery = trimmedQuery.substring(1);
}
clearUriQuery();
trimmedQuery.split('&').forEach(addUriQuery);
}