SignalValueListenable<T, N extends ValueListenable<T> , S extends ReadonlySignal<T> >.fromValueListenable constructor
SignalValueListenable<T, N extends ValueListenable<T> , S extends ReadonlySignal<T> >.fromValueListenable (})
Implementation
factory SignalValueListenable.fromValueListenable(
N val, {
String? debugLabel,
bool autoDispose = false,
}) {
return SignalValueListenable.merge(
val,
signal<T>(
val.value,
debugLabel: debugLabel,
autoDispose: autoDispose,
) as S,
);
}