RoutePolicy constructor

const RoutePolicy({
  1. bool? mustBeAuthorized,
  2. DuplicateRouteBehavior? duplicateBehavior,
  3. bool? pushGlobally,
  4. bool? isPopupRoute,
})

Creates a route policy.

Implementation

const RoutePolicy({
  this.mustBeAuthorized,
  this.duplicateBehavior,
  this.pushGlobally,
  this.isPopupRoute,
});