obscureQueryParams method
Apply the obscuredQueryParams to the input url
Implementation
String obscureQueryParams(String url) {
if (!url.contains('?') || obscuredQueryParams.isEmpty) return url;
String secondPartUrl = url.split('?')[1];
for (final r in obscuredQueryParams) {
secondPartUrl = secondPartUrl.replaceAll(r, '');
}
return '${url.split('?')[0]}?$secondPartUrl';
}