MinExtension<T> extension

Extends the Stream class with the ability to transform into a Future that completes with the smallest item emitted by the Stream.

on
  • Stream<T>

Methods

min([Comparator<T> comparator]) → Future<T>
Converts a Stream into a Future that completes with the smallest item emitted by the Stream. [...]