createSetSignal<V> method

SetSignal<V> createSetSignal<V>(
  1. Set<V> set, {
  2. String? debugLabel,
  3. bool autoDispose = true,
})

Create a SetSignal

Implementation

SetSignal<V> createSetSignal<V>(
  Set<V> set, {
  String? debugLabel,
  bool autoDispose = true,
}) {
  final s = SetSignal<V>(
    set,
    debugLabel: debugLabel,
    autoDispose: autoDispose,
  );
  _watch(s, true);
  return s;
}