toMap method

Map<K, V> toMap()

Implementation

Map<K, V> toMap() => {for (final entry in this) entry.key: entry.value};