BasicNetworkEvent class

Network events

Implementers

Constructors

BasicNetworkEvent.new({required int duration, required int startTime, required String httpRequestMethod, required String spanId, required String traceId, required String urlFull, required String networkProtocolName})
Constructor for basic network 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
final
networkProtocolName String
Protocol e.g http or https
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
final
startTime int
startTime is timestamp when event start
finalinherited
traceId String
Generated random hex string for trace id HttpClientUtils
final
urlFull String
Full url
final

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited