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