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

Methods

min([Comparator<T>? comparator]) Future<T>

Available on Stream<T>, provided by the MinExtension extension

Converts a Stream into a Future that completes with the smallest item emitted by the Stream.