RouteMatch constructor

const RouteMatch(
  1. String name, {
  2. String? originalPath,
  3. Map<String, String> params = const {},
})

Creates a RouteMatch with the matched name and optional parameters.

Implementation

const RouteMatch(this.name, {this.originalPath, this.params = const {}});