rollMany static method

List<DiceRoll> rollMany(
  1. List<Dice> dice
)

Rolls a list of dice and returns a list of dice rolls.

Implementation

static List<DiceRoll> rollMany(List<Dice> dice) =>
    dice.map((d) => roll(d)).toList();