locationQuery property

String locationQuery
inherited

Location query

Implementation

// TODO(JKRhb): Apply proper percent-encoding
String get locationQuery => getOptions<LocationQueryOption>()
    .map((final e) => e.value.replaceAll('&', '%26'))
    .join('&');
void locationQuery=(String fullQuery)
inherited

Set a location query

Implementation

set locationQuery(final String fullQuery) {
  var trimmedQuery = fullQuery;
  if (trimmedQuery.startsWith('?')) {
    trimmedQuery = trimmedQuery.substring(1);
  }
  clearLocationQuery();
  trimmedQuery.split('&').forEach(addLocationQuery);
}