valueSignal<T> function

  1. @Deprecated('Use Signal<T> instead')
ValueSignal<T> valueSignal<T>(
  1. T value, {
  2. String? debugLabel,
  3. bool autoDispose = false,
})

Wrapper signal for a reference to an object

Implementation

@Deprecated('Use Signal<T> instead')
ValueSignal<T> valueSignal<T>(
  T value, {
  String? debugLabel,
  bool autoDispose = false,
}) {
  return ValueSignal<T>(
    value,
    debugLabel: debugLabel,
    autoDispose: autoDispose,
  );
}