ValueStream<T>.of constructor
Implementation
factory ValueStream.of(FutureOr<T?> first, [Stream<T>? after, String? debugName]) {
after ??= Stream.empty();
if (first is Future<T?>) {
return FStream<T>.ofFuture(first, after, debugName);
} else {
return HStream<T?>(first.resolveOrNull(), after, debugName) as ValueStream<T>;
}
}