SentryStackTrace class

Stacktrace holds information about the frames of the stack.

Constructors

SentryStackTrace.new({required List<SentryStackFrame> frames, Map<String, String>? registers, String? lang, bool? snapshot, Map<String, dynamic>? unknown, @internal String? baseAddr, @internal String? buildId})
SentryStackTrace.fromJson(Map<String, dynamic> data)
Deserializes a SentryStackTrace from JSON Map.
factory

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
lang String?
The language of the stacktrace
getter/setter pair
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
snapshot bool?
Indicates that this stack trace is a snapshot triggered by an external signal.
getter/setter pair

Methods

copyWith({List<SentryStackFrame>? frames, Map<String, String>? registers, String? lang, bool? snapshot}) SentryStackTrace
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Produces a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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