Creates a RouteMatch with the matched name and optional parameters.
const RouteMatch(this.name, {this.originalPath, this.params = const {}});