random method
Returns a random value from the iterable.
Implementation
T random([int? seed]) {
assert(isNotEmpty, 'The iterable must not be empty.');
return elementAt(_getRandomIndex(seed));
}
Returns a random value from the iterable.
T random([int? seed]) {
assert(isNotEmpty, 'The iterable must not be empty.');
return elementAt(_getRandomIndex(seed));
}