EventSnapshot<T>.withError constructor

const EventSnapshot<T>.withError(
  1. Object error, [
  2. StackTrace? stackTrace = StackTrace.empty
])

Implementation

const EventSnapshot.withError(Object error, [StackTrace? stackTrace = StackTrace.empty]): this._(null, false, error, stackTrace);