dart:core
StackTrace 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.
Constructors
- StackTrace()
- StackTrace.fromString(String stackTraceString)
factory
- Create a
StackTrace
object from stackTraceString
. [...]
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.
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. [...]
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Static Properties
- current → StackTrace
read-only
- Returns a representation of the current stack trace. [...]