QRoute constructor

const QRoute({
  1. required String path,
  2. required PageBuilder? builder,
  3. String? name,
  4. QPage? pageType,
  5. List<QMiddleware>? middleware,
  6. List<QRoute>? children,
  7. Map<String, dynamic> meta = const {},
})

Implementation

const QRoute({
  required this.path,
  required this.builder,
  this.name,
  this.pageType,
  this.middleware,
  this.children,
  this.meta = const {},
})  : assert(builder != null),
      observers = null,
      declarativeBuilder = null,
      initRoute = null,
      builderChild = null,
      restorationId = null;