ApiErrorReport class
Model representing an API error report
Constructors
Properties
- appName → String
-
Name of the app using the package
final
- endpoint → String
-
Full API endpoint where the error occurred
final
- errorMessage → String
-
Error message
final
- expectedType → String?
-
The expected data type
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
The JSON key that caused the issue
final
- receivedType → String?
-
The actual data type from the server
final
-
requestData
→ Map<
String, dynamic> ? -
Request data (if available)
final
- responseData → dynamic
-
Response data (if available)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → String?
-
Stack trace for debugging
final
- timestamp → DateTime
-
When the error occurred
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON for sending to webhook
-
toString(
) → String -
Format as a string for logging
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited