AsyncSnapshot<T>.withError constructor
const
AsyncSnapshot<T>.withError (
- AsyncConnectionState state,
- Object error, [
- StackTrace? stackTrace
Implementation
const AsyncSnapshot.withError(
AsyncConnectionState state,
Object error, [
StackTrace? stackTrace,
]) : this._(connectionState: state, error: error, stackTrace: stackTrace);