NetworkReplayResult class final
Outcome of sending a NetworkReplayRequest through a NetworkRequestSender.
The same request is also captured by the client's existing ISpect interceptor and appears in the network logs; this lightweight result lets the composer show an inline summary without duplicating the full log rendering.
- Annotations
Constructors
Properties
- body → Object?
-
Decoded response body (structure or text), when available.
final
- durationMs → int?
-
Round-trip duration in milliseconds, when measured.
final
- error → Object?
-
Non-null when the send failed (transport error or non-2xx surfaced as an
exception by the underlying client).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
- isError → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code, or
nullwhen the send failed before a response.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
safeSnapshot(
{RedactionService? redactor, DiagnosticResourceLimits resourceLimits = DiagnosticResourceLimits.balanced}) → NetworkReplayResult - Creates a detached, bounded snapshot suitable for controller and UI state.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited