Frame class Null safety

A single stack frame. Each frame points to a precise location in Dart code.

Implementers

Constructors

Frame(Uri uri, int? line, int? column, String? member)
Frame.caller([int level = 1])
Returns a single frame of the current stack.
factory
Frame.parseFirefox(String frame)
Parses a string representation of a Firefox stack frame.
factory
Frame.parseFriendly(String frame)
Parses this package's string representation of a stack frame.
factory
Frame.parseIE(String frame)
Parses a string representation of an IE stack frame.
factory
Frame.parseJSCore(String frame)
Parses a string representation of a JavaScriptCore stack trace.
factory
Frame.parseSafari(String frame)
Parses a string representation of a Safari stack frame.
factory
Frame.parseSafari6_0(String frame)
Parses a string representation of a Safari 6.0 stack frame.
factory
Frame.parseSafari6_1(String frame)
Parses a string representation of a Safari 6.1+ stack frame.
factory
Frame.parseV8(String frame)
Parses a string representation of a Chrome/V8 stack frame.
factory
Frame.parseVM(String frame)
Parses a string representation of a Dart VM stack frame.
factory

Properties

column int?
The column number of the code location.
final
hashCode int
The hash code for this object.
read-onlyinherited
isCore bool
Whether this stack frame comes from the Dart core libraries.
read-only
library String
Returns a human-friendly description of the library that this stack frame comes from.
read-only
line int?
The line number on which the code location is located.
final
location String
A human-friendly description of the code location.
read-only
member String?
The name of the member in which the code location occurs.
final
package String?
Returns the name of the package this stack frame comes from, or null if this stack frame doesn't come from a package: URL.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
uri Uri
The URI of the file in which the code is located.
final

Methods

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

Operators

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