toMap method
Converts the UrlCleaner instance to a Map.
This method is used for serializing the URL cleaner configuration to JSON or other map-based formats.
Returns:
- Map containing all URL cleaner configuration data
Implementation
Map<String, dynamic> toMap() {
return {
'whitelistParams': whitelistParams,
'blacklistParams': blacklistParams,
'appendParams': appendParams,
};
}