A group created by Stream.groupBy or Stream.groupByMapped.

The stream created by groupBy emits a GroupedEvents for each distinct key it encounters. This group contains the key itself, along with a stream of the values associated with that key.

Constructors

GroupedEvents(K key, Stream<V> values)

factory

Properties

key → K

The key that identifiers the values emitted by values.

final
values Stream<V>

The values that GroupBy have grouped by the common key.

final
hashCode int

The hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

cancel() Future

Tells values to discard values instead of retaining them.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited