ArgosPacketRecord class
Serializable snapshot of a captured HTTP request/response, used for persistent storage and UI display.
Constructors
-
ArgosPacketRecord({required String id, required String uri, required String method, required int startTimestamp, required int endTimestamp, required Map<
String, String> requestHeaders, required String requestBody, required int responseCode, required String responseBody, required Map<String, String> responseHeaders, required int responseSize, String? error, String routeName = '', String kind = 'network', String? sessionId, int sequence = 0}) - ArgosPacketRecord.fromHttpInfo(ArgosHttpInfo info)
-
factory
-
ArgosPacketRecord.fromJson(Map<
String, dynamic> json) -
factory
Properties
- durationMs → int
-
no setter
- endTimestamp → int
-
final
- error → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- kind → String
-
Event kind:
network(HTTP packet),crash,jank, orresource. Used by the Inspector UI to render differentiated list items.final - method → String
-
final
- requestBody → String
-
final
-
requestHeaders
→ Map<
String, String> -
final
- responseBody → String
-
final
- responseCode → int
-
final
-
responseHeaders
→ Map<
String, String> -
final
- responseSize → int
-
final
- routeName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
Stable order within sessionId. Legacy records use zero.
final
- sessionId → String?
-
Null for records migrated from the pre-session storage format.
final
- startTimestamp → int
-
final
- uri → String
-
final
Methods
-
copyWith(
{String? id, String? uri, String? method, int? startTimestamp, int? endTimestamp, Map< String, String> ? requestHeaders, String? requestBody, int? responseCode, String? responseBody, Map<String, String> ? responseHeaders, int? responseSize, String? error, bool clearError = false, String? routeName, String? kind, String? sessionId, bool clearSessionId = false, int? sequence}) → ArgosPacketRecord -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited