singleValue<X> static method

ValueStream<X> singleValue<X>({
  1. String? debugLabel,
  2. FutureOr<X>? initialValue,
})

Implementation

static ValueStream<X> singleValue<X>({String? debugLabel, FutureOr<X>? initialValue}) {
  return ValueStream.of(initialValue);
}