pagesMap property

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

The map holding the page names and their factories.

Implementation

@override
final Map<String, _i9.PageFactory> pagesMap = {
  HFCreateReferralWrapperRoute.name: (routeData) {
    final args = routeData.argsAs<HFCreateReferralWrapperRouteArgs>();
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i1.HFCreateReferralWrapperPage(
        key: args.key,
        projectId: args.projectId,
        viewOnly: args.viewOnly,
        referralReconciliation: args.referralReconciliation,
        cycles: args.cycles,
      ),
    );
  },
  RecordReferralDetailsRoute.name: (routeData) {
    final args = routeData.argsAs<RecordReferralDetailsRouteArgs>();
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i2.RecordReferralDetailsPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
        isEditing: args.isEditing,
        projectId: args.projectId,
        cycles: args.cycles,
      ),
    );
  },
  ReferralFacilityRoute.name: (routeData) {
    final args = routeData.argsAs<ReferralFacilityRouteArgs>(
        orElse: () => const ReferralFacilityRouteArgs());
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i3.ReferralFacilityPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
        isEditing: args.isEditing,
      ),
    );
  },
  ReferralReasonChecklistRoute.name: (routeData) {
    final args = routeData.argsAs<ReferralReasonChecklistRouteArgs>(
        orElse: () => const ReferralReasonChecklistRouteArgs());
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i4.ReferralReasonChecklistPage(
        key: args.key,
        referralClientRefId: args.referralClientRefId,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ReferralReasonChecklistPreviewRoute.name: (routeData) {
    final args = routeData.argsAs<ReferralReasonChecklistPreviewRouteArgs>(
        orElse: () => const ReferralReasonChecklistPreviewRouteArgs());
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i5.ReferralReasonChecklistPreviewPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ReferralReconAcknowledgementRoute.name: (routeData) {
    final args = routeData.argsAs<ReferralReconAcknowledgementRouteArgs>(
        orElse: () => const ReferralReconAcknowledgementRouteArgs());
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i6.ReferralReconAcknowledgementPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
        isDataRecordSuccess: args.isDataRecordSuccess,
        label: args.label,
        description: args.description,
        descriptionTableData: args.descriptionTableData,
      ),
    );
  },
  ReferralReconProjectFacilitySelectionRoute.name: (routeData) {
    final args =
        routeData.argsAs<ReferralReconProjectFacilitySelectionRouteArgs>();
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i7.ReferralReconProjectFacilitySelectionPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
        projectFacilities: args.projectFacilities,
      ),
    );
  },
  SearchReferralReconciliationsRoute.name: (routeData) {
    final args = routeData.argsAs<SearchReferralReconciliationsRouteArgs>(
        orElse: () => const SearchReferralReconciliationsRouteArgs());
    return _i9.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i8.SearchReferralReconciliationsPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
};