BaseAsyncError<T> constructor

const BaseAsyncError<T>({
  1. required Object error,
  2. StackTrace? stackTrace,
})

Creates a BaseAsyncError with the given error and optional stackTrace.

Implementation

const BaseAsyncError({required this.error, this.stackTrace});