getQuery method

dynamic getQuery(
  1. String key, {
  2. dynamic defaultValue,
})

Get query parameter

Implementation

dynamic getQuery(String key, {dynamic defaultValue}) {
  return url.queryParameters[key] ?? defaultValue;
}