AsyncError<T> constructor
const
AsyncError<T> (
- Object error, {
- StackTrace? stackTrace,
Creates an AsyncValue in error state.
The parameter error cannot be null
.
Implementation
const AsyncError(this.error, {this.stackTrace});