SentryThread class

The Threads Interface specifies threads that were running at the time an event happened. These threads can also contain stack traces. See https://develop.sentry.dev/sdk/event-payloads/threads/

Constructors

SentryThread({int? id, String? name, bool? crashed, bool? current, SentryStackTrace? stacktrace, Map<String, dynamic>? unknown})
SentryThread.fromJson(Map<String, dynamic> data)
factory

Properties

crashed ↔ bool?
Whether the crash happened on this thread.
getter/setter pair
current ↔ bool?
An optional flag to indicate that the thread was in the foreground.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
The Id of the thread.
getter/setter pair
name ↔ String?
The name of the thread. On Dart platforms where Isolates are available, this can be set to Isolate.debugName
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stacktrace ↔ SentryStackTrace?
Stack trace. See https://develop.sentry.dev/sdk/event-payloads/stacktrace/
getter/setter pair

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