addParams method
Adds multiple parameters to the request.
params
- A map of parameters to be added.
Returns the current WebRequest instance for method chaining.
Implementation
WebRequest addParams(Map<String, Object?> params) {
params.forEach((key, value) {
_params[key] = value;
});
return this;
}