RxObsMap<K, V>.fromIterable constructor
- Iterable iterable, {
- K key(
- dynamic element
- V value(
- 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));