getAll static method

Map<String, String> getAll()

Get the query string as a map.

Implementation

static Map<String, String> getAll() {
  final query = window.location.search;
  final uri = Uri.parse(query);

  return uri.queryParameters;
}