HTTPRequestData class
Represents the data structure for an HTTP request.
This class contains details of an HTTP request, including headers, URI, HTTP method, request data, and a unique request ID.
Constructors
Properties
- createdAt → DateTime
-
final
-
data
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> -
final
- method → String
-
final
- requestId → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
final
Methods
-
copyWith(
{Map< String, dynamic> ? headers, Uri? uri, String? method, Map<String, dynamic> ? data, int? requestId}) → HTTPRequestData - Creates a copy of this HTTPRequestData with the given parameters, allowing for modification of certain fields while keeping others from the original object.
-
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