Inject<T>.stream constructor
Inject<T>.stream (})
Implementation
factory Inject.stream(
Stream<T> Function() creationFutureFunction, {
dynamic name,
bool isLazy = false,
T? initialValue,
Object? Function(T?)? watch,
}) {
return Inject._(
ReactiveModel.create(
creator: creationFutureFunction,
initialState: initialValue,
),
name,
);
}