OnErrorFinishWith<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
onErrorFinishWith(
[T? onError(Object error)?]) → Stream< T> -
Available on Stream<
Cancels subscription after first error and optionally emits a value. The error is absorbed and not forwarded to listeners but you can log it or handle it in theT> , provided by the OnErrorFinishWith extensiononErrorcallback.