RoutePath constructor

const RoutePath(
  1. String path, {
  2. Map<String, String> params = const {},
  3. Map<String, String> queryParams = const {},
})

Creates a RoutePath with the given path and optional parameters.

Implementation

const RoutePath(this.path,
    {this.params = const {}, this.queryParams = const {}});