CrashReport class
Crash report data.
Constructors
-
CrashReport({required Object error, StackTrace? stackTrace, ErrorSeverity severity = ErrorSeverity.error, DateTime? timestamp, Map<
String, dynamic> ? context, List<String> ? tags, String? userId, Map<String, String> ? deviceInfo})
Properties
-
context
→ Map<
String, dynamic> ? -
Additional context.
final
-
deviceInfo
→ Map<
String, String> ? -
Device information.
final
- error → Object
-
The error that occurred.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → ErrorSeverity
-
Error severity.
final
- stackTrace → StackTrace?
-
Stack trace.
final
-
Tags for categorization.
final
- timestamp → DateTime
-
When the error occurred.
final
- userId → String?
-
User ID if available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited