mergeKeysValuesToList method

List<Map<K, List<V>>> mergeKeysValuesToList(
  1. Iterable<Map<K, V>> other, {
  2. V onAbsentKey(
    1. K key,
    2. bool other
    )?,
})

Implementation

List<Map<K, List<V>>> mergeKeysValuesToList(Iterable<Map<K, V>> other,
        {V Function(K key, bool other)? onAbsentKey}) =>
    mergeKeysValues(other, (k, a, b) => [a, b], onAbsentKey: onAbsentKey);