SentryStackTrace class

Stacktrace holds information about the frames of the stack.

Annotations
  • @immutable

Constructors

SentryStackTrace({required List<SentryStackFrame> frames, Map<String, String>? registers})

Properties

frames List<SentryStackFrame>
Required. A non-empty immutable list of stack frames (see below). The list is ordered from caller to callee, or oldest to youngest. The last frame is the one creating the exception.
no setter
hashCode int
The hash code for this object.
no setterinherited
registers Map<String, String>
Optional. A map of register names and their values. The values should contain the actual register values of the thread, thus mapping to the last frame in the list.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<SentryStackFrame>? frames, Map<String, String>? registers}) SentryStackTrace
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