total property
int
get
total
The total of the dice roll, including the modifier.
Implementation
int get total =>
results.reduce((all, cur) => all + cur) + (dice.modifierValue ?? 0);
The total of the dice roll, including the modifier.
int get total =>
results.reduce((all, cur) => all + cur) + (dice.modifierValue ?? 0);