StackFrame class

Represents a single stack frame in a stack trace.

Constructors

StackFrame({String? columnNumber, TruncatableString? fileName, TruncatableString? functionName, String? lineNumber, Module? loadModule, TruncatableString? originalFunctionName, TruncatableString? sourceVersion})
StackFrame.fromJson(Map json_)

Properties

columnNumber String?
The column number where the function call appears, if available.
getter/setter pair
fileName TruncatableString?
The name of the source file where the function call appears (up to 256 bytes).
getter/setter pair
functionName TruncatableString?
The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineNumber String?
The line number in file_name where the function call appears.
getter/setter pair
loadModule Module?
The binary module from where the code was loaded.
getter/setter pair
originalFunctionName TruncatableString?
An un-mangled function name, if function_name is mangled.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceVersion TruncatableString?
The version of the deployed source code (up to 128 bytes).
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