FindRuleInRuleset extension
Extends List<Ruleset>
with a method used to find a rule that matches
the supplied filters.
Methods
-
findApplicableRule(
{required String userAgent, required String path, required RuleType type, PrecedenceStrategy comparisonMethod = PrecedenceStrategy.defaultStrategy}) → Rule? -
Gets the rule that applies to
userAgent
, pertains topath
and is of typetype
.