ErrorWithStack constructor

const ErrorWithStack(
  1. dynamic error, [
  2. StackTrace? stackTrace
])

Create an instance

Implementation

const factory ErrorWithStack(dynamic error, [StackTrace? stackTrace]) =
    _ErrorWithStack;