needsModifier property

bool get needsModifier

Whether or not this dice needs a modifier to be rolled - if it has a modifier stat but no value.

Implementation

bool get needsModifier => modifierStat != null && modifierValue == null;