FailedNetworkEvent class

FailedNetworkEvent without error stacktrace

Inheritance

Constructors

FailedNetworkEvent.new({required int duration, required int startTime, required String httpRequestMethod, required String spanId, required String traceId, required String urlFull, required String networkProtocolName, required int responseStatusCode})
Constructor for FailedNetworkEvent

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
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