RandomListUtil<T> extension

Utility to return random items from a list

on

Methods

randomItem([Iterable<double> weights = const []]) → T
Returns a random item from this list.