PutParams class base

Parameters for PUT requests.

Used for full resource replacement.

Inheritance

Constructors

PutParams({Map<String, String>? headers, Object? encodeBody()?, Map<String, dynamic>? urlParams, Object? driverOptions, Encoding? encoding})
const

Properties

driverOptions → Object?
Client-specific configuration (e.g., Dio's Options or CancelToken).
finalinherited
encodeBody → Object? Function()?
A callback that handles the serialization of the request body.
finalinherited
encoding → Encoding?
The character encoding for the request body. Defaults to utf8 in most drivers.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
Custom HTTP headers for the request.
finalinherited
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.
finalinherited

Methods

modifyUriWithUrlParams(Uri uri) → Uri
Helper function to merge the base uri with specific RequestParams.
inherited
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