An interface implemented by all stack trace objects.
A StackTrace is intended to convey information to the user about the call sequence that triggered an exception.
These objects are created by the runtime, it is not possible to create them programmatically.
Static Properties
- current → StackTrace
-
Returns a representation of the current stack trace.
read-only
Constructors
- StackTrace()
- StackTrace.fromString(String stackTraceString)
-
Create a
StackTrace
object fromstackTraceString
.factory
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a String representation of the stack trace.