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 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.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- toString(
) → String override - Returns a String representation of the stack trace. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
Static Properties
- current → StackTrace read-only
- Returns a representation of the current stack trace. [...]
Constants
- empty → const _StringStackTrace @Since("2.8")
- A stack trace object with no information. [...]
const _StringStackTrace("")
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/StackTrace-class.html