matchesPattern method

bool matchesPattern(
  1. bool matcher(
    1. List<String> path
    )
)

Check if the path matches a specific pattern using a callback

Implementation

bool matchesPattern(bool Function(List<String> path) matcher) =>
    matcher(path);