randomChoice property

dynamic get randomChoice

returns a random element from the set

Implementation

dynamic get randomChoice => elementAt(math.Random().nextInt(length));