pagesMap property

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

The map holding the page names and their factories.

Implementation

@override
final Map<String, _i2.PageFactory> pagesMap = {
  DigitScannerRoute.name: (routeData) {
    final args = routeData.argsAs<DigitScannerRouteArgs>();
    return _i2.AutoRoutePage<dynamic>(
      routeData: routeData,
      child: _i1.DigitScannerPage(
        key: args.key,
        appLocalizations: args.appLocalizations,
        quantity: args.quantity,
        isGS1code: args.isGS1code,
        singleValue: args.singleValue,
        isEditEnabled: args.isEditEnabled,
      ),
    );
  }
};