toSignal method

SetSignal<T> toSignal({
  1. String? debugLabel,
  2. bool autoDispose = false,
})

Convert an existing list to SetSignal

Implementation

SetSignal<T> toSignal({
  String? debugLabel,
  bool autoDispose = false,
}) {
  return SetSignal(
    this,
    debugLabel: debugLabel,
    autoDispose: autoDispose,
  );
}