Stream<T> streamOfNullableFuture<T>(Future<T?>? nullable) { return nullable == null ? Stream.empty() : Stream.fromFuture(nullable).whereType<T>(); }