addParam method
Adds a single parameter to the request.
key - The key of the parameter to add.
param - The value of the parameter to add.
Returns the current Request instance for method chaining.
Implementation
Request addParam(String key, Object? param) {
_params[key] = param;
return this;
}