createSignal<V> method
Create a signal
Implementation
Signal<V> createSignal<V>(
V val, {
String? debugLabel,
bool autoDispose = true,
}) {
final s = signal<V>(
val,
debugLabel: debugLabel,
autoDispose: autoDispose,
);
_watch(s, true);
return s;
}