AntPathMatcher constructor

AntPathMatcher({
  1. String pathSeparator = defaultPathSeparator,
  2. bool caseSensitive = true,
  3. bool trimTokens = false,
})

Creates a matcher that splits paths at pathSeparator (/ unless given), compares segments case-sensitively unless caseSensitive is false, and ignores whitespace around segments when trimTokens is true.

Implementation

AntPathMatcher({
  this.pathSeparator = defaultPathSeparator,
  this.caseSensitive = true,
  this.trimTokens = false,
});