BugsnagStackframe class

Represents a single stackframe from a StackTrace

Constructors

BugsnagStackframe({BugsnagErrorType? type, String? file, int? lineNumber, int? columnNumber, String? method, bool? inProject, String? frameAddress, String? loadAddress, bool? isLR, bool? isPC, String? symbolAddress, String? machoFile, String? machoLoadAddress, String? machoUUID, String? machoVMAddress, String? codeIdentifier})
BugsnagStackframe.fromJson(Map<String, Object?> json)
BugsnagStackframe.fromStackFrame(StackFrame frame)

Properties

codeIdentifier String?
Identifies the exact build this frame originates from.
getter/setter pair
columnNumber int?
The column number of the frame
getter/setter pair
file String?
The location of the source file
getter/setter pair
frameAddress String?
The address of the instruction where the event occurred.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inProject bool?
Whether the package is considered to be in your project for the purposes of grouping and readability on the Bugsnag dashboard. Project package names can be set as projectPackages in Bugsnag.start.
getter/setter pair
isLR bool?
iOS only: Whether the frame was within the link register
getter/setter pair
isPC bool?
Whether the frame was within the program counter
getter/setter pair
lineNumber int?
The line number within the source file this stackframe refers to
getter/setter pair
loadAddress String?
The address of the library where the event occurred.
getter/setter pair
machoFile String?
iOS only: The Mach-O file used by the stackframe
getter/setter pair
machoLoadAddress String?
iOS only: The load address of the Mach-O file
getter/setter pair
machoUUID String?
iOS only: A UUID identifying the Mach-O file used by the stackframe
getter/setter pair
machoVMAddress String?
iOS only: The VM address of the Mach-O file
getter/setter pair
method String?
The name of the method that was being executed
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbolAddress String?
The address of the function where the event occurred.
getter/setter pair
type BugsnagErrorType?
The type of the error
getter/setter pair

Methods

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

Operators

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

Static Methods

stacktraceFromJson(List<Map<String, dynamic>> json) BugsnagStacktrace