randomChoice property
dynamic
get
randomChoice
returns a random element from the list
Implementation
dynamic get randomChoice => this[math.Random().nextInt(length)];
returns a random element from the list
dynamic get randomChoice => this[math.Random().nextInt(length)];