Choice constructor

const Choice({
  1. int? seed,
})

Provides a random choice from items in a sequence.

seed is optional parameter to initialize the internal state of the random generator.

Implementation

const Choice({this.seed});