FindRuleInRuleset extension

Extends List<Ruleset> with a method used to find a rule that matches the supplied filters.

on

Methods

findApplicableRule({required String userAgent, required String path, required RuleType type, PrecedenceStrategy comparisonMethod = PrecedenceStrategy.defaultStrategy}) Rule?
Gets the rule that applies to userAgent, pertains to path and is of type type.