areMandatoryRulesRespected property
bool
areMandatoryRulesRespected
Either or not the password apply to all mandatory rules.
Implementation
bool get areMandatoryRulesRespected => !passwordPolicy.validationRules.any(
(rule) => rule.mandatory && !rule.isRuleRespected(password),
);