AsyncSnapshot<T>.withError constructor

const AsyncSnapshot<T>.withError(
  1. AsyncConnectionState state,
  2. Object error, [
  3. StackTrace? stackTrace
])

Implementation

const AsyncSnapshot.withError(
  AsyncConnectionState state,
  Object error, [
  StackTrace? stackTrace,
]) : this._(connectionState: state, error: error, stackTrace: stackTrace);