SuccessNetworkEvent class

Event for success response

Inheritance

Constructors

SuccessNetworkEvent.new({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})
Constructor for success response event

Properties

duration int
duration created based on event start and result, usually is 0 except
finalinherited
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
sourceType is "flutter" for all types of events
finalinherited
spanId String
Generated random hex string for span id HttpClientUtils
finalinherited
startTime int
startTime is timestamp when event start
finalinherited
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
toJsonString() String
Function to create json representation.
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