Dice constructor

const Dice(
  1. {int min: defaultMin,
  2. int max: defaultMax}
)

Implementation

const Dice({this.min = defaultMin, this.max = defaultMax});