ErrorAndStackTrace class Null safety

An Object which acts as a tuple containing both an error and the corresponding stack trace.

Constructors

ErrorAndStackTrace(Object error, StackTrace? stackTrace)
Constructs an object containing both an error and the corresponding stackTrace.

Properties

error Object
A reference to the wrapped error object.
final
hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stackTrace StackTrace?
A reference to the wrapped StackTrace
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.
override