SuccessNetworkEvent class
Event for success response
- Inheritance
-
- Object
- BasicNetworkEvent
- SuccessNetworkEvent
Constructors
- SuccessNetworkEvent({required int duration, required int startTime, required String httpRequestMethod, required String urlFull, required String networkProtocolName, required String traceId, required String spanId, required String? responseReasonPhrase, required int responseStatusCode, int? bytesSent, int? bytesReceived})
- Constructor for success response event
Properties
- bytesReceived → int?
-
The actually transferred response bytes including body and headers
final
- bytesSent → int?
-
The actually transferred request bytes including body and headers
final
- duration → int
-
durationcreated based on event start and result, usually is 0 exceptfinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- httpRequestMethod → String
-
Request method e.g GET POST
finalinherited
- networkProtocolName → String
-
Protocol e.g http or https
finalinherited
- responseReasonPhrase → String?
-
Response phrase e.g OK
final
- responseStatusCode → int
-
Response status code e.g 200
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceType → String
-
sourceTypeis "flutter" for all types of eventsfinalinherited - spanId → String
-
Generated random hex string for span id HttpClientUtils
finalinherited
- startTime → int
-
startTimeis timestamp when event startfinalinherited - traceId → String
-
Generated random hex string for trace id HttpClientUtils
finalinherited
- urlFull → String
-
Full url
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts Basic Event to map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited