pagesMap property

  1. @override
Map<String, PageFactory> pagesMap
final

The map holding the page names and their factories.

Implementation

@override
final Map<String, _i5.PageFactory> pagesMap = {
  ClosedHouseholdAcknowledgementRoute.name: (routeData) {
    final args = routeData.argsAs<ClosedHouseholdAcknowledgementRouteArgs>(
        orElse: () => const ClosedHouseholdAcknowledgementRouteArgs());
    return _i5.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i1.ClosedHouseholdAcknowledgementPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ClosedHouseholdDetailsRoute.name: (routeData) {
    final args = routeData.argsAs<ClosedHouseholdDetailsRouteArgs>(
        orElse: () => const ClosedHouseholdDetailsRouteArgs());
    return _i5.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i2.ClosedHouseholdDetailsPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ClosedHouseholdSummaryRoute.name: (routeData) {
    final args = routeData.argsAs<ClosedHouseholdSummaryRouteArgs>(
        orElse: () => const ClosedHouseholdSummaryRouteArgs());
    return _i5.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i3.ClosedHouseholdSummaryPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ClosedHouseholdWrapperRoute.name: (routeData) {
    return _i5.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: const _i4.ClosedHouseholdWrapperPage(),
    );
  },
};