AsyncValue<T>.error constructor
const
AsyncValue<T>.error (
- Object error, [
- StackTrace? stackTrace
Creates an AsyncError state with the provided error and optional stackTrace.
Implementation
const factory AsyncValue.error(Object error, [StackTrace? stackTrace]) =
AsyncError<T>;