Override to scan the fullPath for optional parameters.
fullPath
@override List<String> get optionalParams { return RegExp(r':(\w+)\?') .allMatches(fullPath) .map((match) => match.group(1)!) .toSet() .toList(); }