ObsMap<K, V>.fromEntries constructor

ObsMap<K, V>.fromEntries(
  1. Iterable<MapEntry<K, V>> entries
)

Creates a new map and adds all the provided entries to it.

Implementation

factory ObsMap.fromEntries(Iterable<MapEntry<K, V>> entries) =>
    ObsMap(Map<K, V>.fromEntries(entries));