random method
Implementation
T random({Random? random}) {
if (random != null) {
return this[random.nextInt(length)];
} else {
return this[DateTime.now().microsecond % length];
}
}
T random({Random? random}) {
if (random != null) {
return this[random.nextInt(length)];
} else {
return this[DateTime.now().microsecond % length];
}
}