findApplicable method

List<Rule> findApplicable({
  1. required String path,
})

Taking a path, returns the Rules that pertain to it.

Implementation

List<Rule> findApplicable({required String path}) =>
    where((rule) => rule.pattern.hasMatch(path)).toList();