ValidationRule constructor
ValidationRule({})
Default constructor, define the impact, the minimumScore and the name of this rule. Also define if the rule is mandatory or not.
Implementation
ValidationRule({
this.impact = 1,
this.minimumScore = 1.0,
required this.mandatory,
this.name,
});