toMap method

Map<K, V> toMap()

Convert the collection of entries into a Map.

Implementation

Map<K, V> toMap() => Map.fromEntries(this);