FailedNetworkWithExceptionEvent class
Failed Network Event with Exception
- Inheritance
-
- Object
- BasicNetworkEvent
- FailedNetworkWithExceptionEvent
Constructors
- FailedNetworkWithExceptionEvent.new({required String exceptionMessage, required String exceptionStackTrace, required String exceptionType, required int duration, required int startTime, required String httpRequestMethod, required String spanId, required String traceId, required String urlFull, required String networkProtocolName, String? responseReasonPhrase})
- Constructor for failed event with exception
Properties
- duration → int
-
duration
created based on event start and result, usually is 0 exceptfinalinherited - exceptionMessage → String
-
Exception message
final
- exceptionStackTrace → String
-
Exception Stacktrace
final
- exceptionType → String
-
Exception type
final
- 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 reason phrase
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceType → String
-
sourceType
is "flutter" for all types of eventsfinalinherited - spanId → String
-
Generated random hex string for span id HttpClientUtils
finalinherited
- startTime → int
-
startTime
is 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
-
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