AsyncValue<T>.error constructor
const
AsyncValue<T>.error (
- Object? error, [
- StackTrace? stackTrace,
- int? retryCount
Implementation
const AsyncValue.error(this.error, [this.stackTrace, this.retryCount])
: state = AsyncState.error,
data = null;