fallback method
Transforms a stream with a fallback value in case of errors
Implementation
Stream<T> fallback(T fallbackValue) {
return handleError((_) => fallbackValue).where((event) => event != null);
}
Transforms a stream with a fallback value in case of errors
Stream<T> fallback(T fallbackValue) {
return handleError((_) => fallbackValue).where((event) => event != null);
}