ErrorAndStacktrace constructor

ErrorAndStacktrace(
  1. dynamic error,
  2. StackTrace stackTrace
)

Constructs an object containing both an error and the corresponding stackTrace.

Implementation

ErrorAndStacktrace(this.error, this.stackTrace);