sample function
dynamic
sample(
- dynamic collection
Implementation
dynamic sample(dynamic collection) =>
collection.elementAt(Random().nextInt(collection.length));
dynamic sample(dynamic collection) =>
collection.elementAt(Random().nextInt(collection.length));