RequestParams class sealed

A base container for all data required to perform a remote request.

This class encapsulates headers, body encoding logic, query parameters, and client-specific options.

Implementers

Properties

driverOptions → Object?
Client-specific configuration (e.g., Dio's Options or CancelToken).
final
encodeBody → Object? Function()?
A callback that handles the serialization of the request body.
final
encoding → Encoding?
The character encoding for the request body. Defaults to utf8 in most drivers.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
Custom HTTP headers for the request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
urlParams → Map<String, dynamic>?
Query parameters to be appended to the URL.
final

Methods

modifyUriWithUrlParams(Uri uri) → Uri
Helper function to merge the base uri with specific RequestParams.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited