DiceRoller constructor

DiceRoller([
  1. Random? r
])

Constructs a dice roller

Implementation

DiceRoller([Random? r]) : _random = r ?? Random.secure();