compile function
Implementation
PathFunction compile(
String str, {
bool sensitive = false,
String Function(String)? encode,
bool validate = true,
String? delimiter,
String prefixes = './',
}
// options?: ParseOptions & TokensToFunctionOptions
) {
return tokensToFunction(
parse(str, prefixes: prefixes, delimiter: delimiter),
sensitive: sensitive,
encode: encode,
validate: validate,
);
}