RandomListUtil<T> extension
Utility to return random items from a list
- on
-
- List<
T>
- List<
Methods
-
randomItem(
[Iterable< double> weights = const []]) → T -
Available on List<
Returns a random item from this list.T> , provided by the RandomListUtil extension