SignalValueNotifier<T>.fromValueNotifier constructor

SignalValueNotifier<T>.fromValueNotifier(
  1. ValueNotifier<T> val, {
  2. String? debugLabel,
  3. bool autoDispose = false,
})

Implementation

SignalValueNotifier.fromValueNotifier(
  ValueNotifier<T> val, {
  String? debugLabel,
  bool autoDispose = false,
}) : super.merge(
        val,
        signal<T>(
          val.value,
          debugLabel: debugLabel,
          autoDispose: autoDispose,
        ),
      );