whitelistParams property
List of query parameters to keep in the cleaned URL.
If specified, only these parameters will be retained in the final URL. All other parameters will be removed, regardless of blacklist settings.
Example:
UrlCleaner(whitelistParams: ['id', 'category'])
// Keeps only 'id' and 'category' parameters
Implementation
List<String>? whitelistParams;