RandomListUtil<T> extension

Utility to return random items from a list

on

Methods

randomItem([Iterable<double> weights = const []]) → T

Available on List<T>, provided by the RandomListUtil extension

Returns a random item from this list.