ZapSnapshot<T>.withError constructor
ZapSnapshot<T>.withError (
- Object? _error,
- StackTrace? _trace
Implementation
ZapSnapshot.withError(this._error, this._trace)
: _state = _SnapshotState.error,
_data = null,
isDone = false;