modifier property
String
get
modifier
The modifier name. In a 2d6+DEX roll, this would be DEX.
Implementation
String get modifier => hasModifier
? modifierStat ?? (modifierValue != 0 ? modifierValue : '')!.toString()
: "";