PathRule constructor

PathRule(
  1. String prefix, {
  2. bool exact = false,
})

Creates a path rule for prefix.

Implementation

PathRule(String prefix, {this.exact = false}) : prefix = _normalize(prefix);