IterableUtilities<T> extension

Extends Iterable with additional basic methods.

on

Methods

matches(Iterable<T> other, {bool ordered = false}) bool
Returns true if this and other are the same length and contain all of the same elements.
random([int? seed]) → T
Returns a random value from the iterable.

Operators

operator +(Iterable<T> other) Iterable<T>
Returns a new Iterable of the same type as this with other's elements appended to the end.