Crash class

Represents a crash incident or unhandled exception captured by TraceX.

Implementers

Constructors

Crash({dynamic id, required String projectKey, required String platform, required String language, required DateTime occurredAt, required String exceptionType, required String errorMessage, required String stackTrace, required Environment environment, required List<Breadcrumb> breadcrumbs})
Creates a Crash incident entity.
const

Properties

Breadcrumbs recorded prior to the exception.
final
environment → Environment
Device and runtime environment snapshot at the time of the crash.
final
errorMessage → String
Human-readable error message or diagnostic summary.
final
exceptionType → String
Exception class or error type name.
final
hashCode → int
The hash code for this object.
no setterinherited
id → dynamic
Optional local database identifier when buffered offline.
final
language → String
Target programming language identifier (e.g., 'dart').
final
occurredAt → DateTime
UTC timestamp of when the crash occurred.
final
platform → String
Target platform identifier (e.g., 'flutter').
final
projectKey → String
Project API key associated with the telemetry event.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → String
Stringified stack trace frames.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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