AsyncStateError<T> constructor
AsyncStateError<T> (
- Object error, [
- StackTrace? trace,
- T? lastValue
Create an AsyncState representing the error state with error
.
Implementation
AsyncStateError(this.error, [StackTrace? trace, super.lastValue]) :
stackTrace = trace ?? StackTrace.current;