RxObsMap<K, V>.fromIterable constructor

RxObsMap<K, V>.fromIterable(
  1. Iterable iterable, {
  2. K key(
    1. dynamic element
    )?,
  3. V value(
    1. dynamic element
    )?,
})

Creates a new LinkedHashMap instance in which the keys and values are computed from the provided iterable.

Implementation

factory RxObsMap.fromIterable(
  Iterable iterable, {
  K Function(dynamic element)? key,
  V Function(dynamic element)? value,
}) => RxObsMap(Map<K, V>.fromIterable(iterable, key: key, value: value));