toMap method

Map<K, V?> toMap()

Returns this MapStream as a Dart Map.

Implementation

Map<K, V?> toMap() {
  return {..._map};
}