toSignal method

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

Convert an existing list to IterableSignal

Implementation

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