hasQueryParameter method
Returns true if this URI has a specific query parameter.
Args:
key: The query parameter key to check.
Returns: True if the parameter exists, false otherwise.
Example:
Uri.parse('https://example.com?page=1').hasQueryParameter('page'); // true
Uri.parse('https://example.com?page=1').hasQueryParameter('limit'); // false
Implementation
bool hasQueryParameter(String key) => queryParameters.containsKey(key);