RxMap<K, V>.identity constructor Null safety

RxMap<K, V>.identity()

Creates an identity map with the default implementation, LinkedHashMap.

Implementation

factory RxMap.identity() {
  return RxMap(Map.identity());
}