StackTrace abstract class
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 read-only
-
Returns a representation of the current stack trace.
Constructors
- StackTrace()
- StackTrace.fromString(String stackTraceString) factory
-
Create a
StackTrace
object fromstackTraceString
.
Properties
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- toString(
) → String -
Returns a String representation of the stack trace.
- noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/StackTrace-class.html