randomItem property
T?
get
randomItem
Implementation
T? get randomItem {
if (length == 0) return null;
return elementAt(_random.nextInt(length));
}
T? get randomItem {
if (length == 0) return null;
return elementAt(_random.nextInt(length));
}