Helper to get a query parameter as an integer.
int? queryInt(String key, [int? defaultValue]) => request.queryInt(key, defaultValue);