RollResult constructor

RollResult({
  1. required String rollNotation,
  2. required int faces,
  3. required int numberOfRolls,
  4. required List<int> results,
  5. required int finalResult,
})

Instantiate the result of a single roll.

Implementation

RollResult({
  required this.rollNotation,
  required this.faces,
  required this.numberOfRolls,
  required this.results,
  required this.finalResult,
});