createMapSignal<K, V> method

MapSignal<K, V> createMapSignal<K, V>(
  1. Map<K, V> value, {
  2. String? debugLabel,
  3. bool autoDispose = true,
})

Create a MapSignal

Implementation

MapSignal<K, V> createMapSignal<K, V>(
  Map<K, V> value, {
  String? debugLabel,
  bool autoDispose = true,
}) {
  final s = MapSignal<K, V>(
    value,
    debugLabel: debugLabel,
    autoDispose: autoDispose,
  );
  _watch(s, true);
  return s;
}