RequestDetails class
Constructors
- RequestDetails({String? requestName, required RequestMethod requestMethod, required String url, int? statusCode, dynamic headers, dynamic queryParameters, dynamic requestBody, dynamic responseBody, DateTime? sentTime, DateTime? receivedTime})
- RequestDetails.fromJson(String source)
-
factory
-
RequestDetails.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- headers → dynamic
-
final
- id → String
-
no setter
- queryParameters → dynamic
-
final
- receivedTime → DateTime?
-
final
- requestBody → dynamic
-
final
- requestMethod → RequestMethod
-
final
- requestName ↔ String
-
latefinal
- responseBody → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentTime ↔ DateTime
-
latefinal
- statusCode → int?
-
final
- url → String
-
final
Methods
-
copyWith(
{String? requestName, RequestMethod? requestMethod, String? url, int? statusCode, dynamic headers, dynamic queryParameters, dynamic requestBody, dynamic responseBody, DateTime? sentTime, DateTime? receivedTime}) → RequestDetails -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override