pagesMap property

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

The map holding the page names and their factories.

Implementation

@override
final Map<String, _i12.PageFactory> pagesMap = {
  ComplaintTypeRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintTypeRouteArgs>(
        orElse: () => const ComplaintTypeRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i1.ComplaintTypePage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsAcknowledgementRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsAcknowledgementRouteArgs>(
        orElse: () => const ComplaintsAcknowledgementRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i2.ComplaintsAcknowledgementPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsDetailsRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsDetailsRouteArgs>(
        orElse: () => const ComplaintsDetailsRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i3.ComplaintsDetailsPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsDetailsViewRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsDetailsViewRouteArgs>();
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i4.ComplaintsDetailsViewPage(
        key: args.key,
        complaint: args.complaint,
      ),
    );
  },
  ComplaintsInboxFilterRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsInboxFilterRouteArgs>(
        orElse: () => const ComplaintsInboxFilterRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i5.ComplaintsInboxFilterPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsInboxRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsInboxRouteArgs>(
        orElse: () => const ComplaintsInboxRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i6.ComplaintsInboxPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsInboxSearchRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsInboxSearchRouteArgs>(
        orElse: () => const ComplaintsInboxSearchRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i7.ComplaintsInboxSearchPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsInboxSortRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsInboxSortRouteArgs>(
        orElse: () => const ComplaintsInboxSortRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i8.ComplaintsInboxSortPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsInboxWrapperRoute.name: (routeData) {
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: const _i9.ComplaintsInboxWrapperPage(),
    );
  },
  ComplaintsLocationRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsLocationRouteArgs>(
        orElse: () => const ComplaintsLocationRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i10.ComplaintsLocationPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
      ),
    );
  },
  ComplaintsRegistrationWrapperRoute.name: (routeData) {
    final args = routeData.argsAs<ComplaintsRegistrationWrapperRouteArgs>(
        orElse: () => const ComplaintsRegistrationWrapperRouteArgs());
    return _i12.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i12.WrappedRoute(
          child: _i11.ComplaintsRegistrationWrapperPage(
        key: args.key,
        pgrServiceModel: args.pgrServiceModel,
      )),
    );
  },
};