Single<T>.value constructor
Single<T>.value (
- T value
Creates a Single which emits a single data event of value
before completing.
See Stream.value.
Implementation
factory Single.value(T value) => Single.safe(Stream.value(value));