ObservableMap<K, V>.of constructor

ObservableMap<K, V>.of(
  1. Map<K, V> other, {
  2. ReactiveContext? context,
})

Implementation

ObservableMap.of(Map<K, V> other, {ReactiveContext? context})
    : _context = context ?? mainContext,
      _atom = _observableMapAtom<K, V>(context),
      _map = Map.of(other);