Dice constructor

const Dice({
  1. required DiceEmoji emoji,
  2. required int value,
})

Creates a new Dice object.

Implementation

const Dice({
  required this.emoji,
  required this.value,
});