RouteArgs constructor

const RouteArgs(
  1. RouteInfo route, {
  2. String? id,
  3. Map<String, String>? queryParams,
  4. Map<String, String>? pathParams,
  5. Object? object,
  6. RouteArgs? resumeTo,
  7. RouteArgs? comingFrom,
  8. bool isFromDeeplink = false,
  9. bool? pushGlobally,
  10. DuplicateRouteBehavior? duplicateBehavior,
  11. bool isIdSlug = false,
  12. bool? mustBeAuthorized,
  13. RoutePolicy? policy,
})

Creates navigation arguments for the provided route.

Implementation

const RouteArgs(
  this.route, {
  this.id,
  this.queryParams,
  this.pathParams,
  this.object,
  this.resumeTo,
  this.comingFrom,
  this.isFromDeeplink = false,
  this.pushGlobally,
  this.duplicateBehavior,
  this.isIdSlug = false,
  this.mustBeAuthorized,
  this.policy,
});