AsyncError<T> constructor

const AsyncError<T>(
  1. Object error,
  2. StackTrace stackTrace, {
  3. AsyncData<T>? previous,
})

Creates an AsyncError state with the given error and stackTrace.

Implementation

const AsyncError(this.error, this.stackTrace, {this.previous});