random method
Return a random element of the list.
Implementation
T random({int? seed}) {
return this[math.Random(seed).nextInt(length)];
}
Return a random element of the list.
T random({int? seed}) {
return this[math.Random(seed).nextInt(length)];
}