DocumentTypeScreenRoute constructor

DocumentTypeScreenRoute({
  1. Key? key,
  2. required String documentTypeSlug,
  3. List<PageRouteInfo<Object?>>? children,
})

Implementation

DocumentTypeScreenRoute({
  Key? key,
  required String documentTypeSlug,
  List<PageRouteInfo>? children,
}) : super(
       DocumentTypeScreenRoute.name,
       args: DocumentTypeScreenRouteArgs(
         key: key,
         documentTypeSlug: documentTypeSlug,
       ),
       rawPathParams: {'documentTypeSlug': documentTypeSlug},
       initialChildren: children,
     );