// GENERATED CODE - DO NOT MODIFY BY HAND

// **************************************************************************
// AutoRouterGenerator
// **************************************************************************

// ignore_for_file: type=lint
// coverage:ignore-file

part of 'services_page_router.dart';

abstract class _$ServicesPageRouter extends RootStackRouter {
  // ignore: unused_element
  _$ServicesPageRouter({super.navigatorKey});

  @override
  final Map<String, PageFactory> pagesMap = {
    CleanOrderCancelSuccessPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const CleanOrderCancelSuccessPage(),
      );
    },
    CleanOrderDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<CleanOrderDetailPageRouteArgs>(
          orElse: () => CleanOrderDetailPageRouteArgs(
                id: pathParams.getInt('id'),
                cleanServiceTypeId: pathParams.optInt('cleanServiceTypeId'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: CleanOrderDetailPage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
        ),
      );
    },
    EvaluateCreateSuccessPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const EvaluateCreateSuccessPage(),
      );
    },
    HistoryPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const HistoryPage(),
      );
    },
    HomeServicePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const HomeServicePage(),
      );
    },
    InProgressPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const InProgressPage(),
      );
    },
    RepairHistoryPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const RepairHistoryPage(),
      );
    },
    RepairHomeServicePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const RepairHomeServicePage(),
      );
    },
    RepairInProgressPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const RepairInProgressPage(),
      );
    },
    RepairPageRoute.name: (routeData) {
      final args = routeData.argsAs<RepairPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: RepairPage(
          key: args.key,
          parentCategoryId: args.parentCategoryId,
        ),
      );
    },
    ServiceCleanDetailPageRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceCleanDetailPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServiceCleanDetailPage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
          liked: args.liked,
          likesCount: args.likesCount,
        ),
      );
    },
    ServiceEvaluateCreatePageRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceEvaluateCreatePageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServiceEvaluateCreatePage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
        ),
      );
    },
    ServiceEvaluateListPageRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceEvaluateListPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServiceEvaluateListPage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
        ),
      );
    },
    ServiceOrderConfirmPageRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceOrderConfirmPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServiceOrderConfirmPage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
        ),
      );
    },
    ServicePaySuccessPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<ServicePaySuccessPageRouteArgs>(
          orElse: () =>
              ServicePaySuccessPageRouteArgs(id: pathParams.getInt('id')));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServicePaySuccessPage(
          key: args.key,
          id: args.id,
        ),
      );
    },
    ServiceRepairDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<ServiceRepairDetailPageRouteArgs>(
          orElse: () => ServiceRepairDetailPageRouteArgs(
                id: pathParams.getInt('id'),
                cleanServiceTypeId: pathParams.optInt('cleanServiceTypeId'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServiceRepairDetailPage(
          key: args.key,
          id: args.id,
          cleanServiceTypeId: args.cleanServiceTypeId,
        ),
      );
    },
    ServicesMainPageRoute.name: (routeData) {
      final args = routeData.argsAs<ServicesMainPageRouteArgs>(
          orElse: () => const ServicesMainPageRouteArgs());
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServicesMainPage(key: args.key),
      );
    },
    ServicesPageRoute.name: (routeData) {
      final args = routeData.argsAs<ServicesPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: ServicesPage(
          key: args.key,
          parentCategoryId: args.parentCategoryId,
        ),
      );
    },
  };
}

/// generated route for
/// [CleanOrderCancelSuccessPage]
class CleanOrderCancelSuccessPageRoute extends PageRouteInfo<void> {
  const CleanOrderCancelSuccessPageRoute({List<PageRouteInfo>? children})
      : super(
          CleanOrderCancelSuccessPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'CleanOrderCancelSuccessPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [CleanOrderDetailPage]
class CleanOrderDetailPageRoute
    extends PageRouteInfo<CleanOrderDetailPageRouteArgs> {
  CleanOrderDetailPageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    List<PageRouteInfo>? children,
  }) : super(
          CleanOrderDetailPageRoute.name,
          args: CleanOrderDetailPageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
          ),
          rawPathParams: {
            'id': id,
            'cleanServiceTypeId': cleanServiceTypeId,
          },
          initialChildren: children,
        );

  static const String name = 'CleanOrderDetailPageRoute';

  static const PageInfo<CleanOrderDetailPageRouteArgs> page =
      PageInfo<CleanOrderDetailPageRouteArgs>(name);
}

class CleanOrderDetailPageRouteArgs {
  const CleanOrderDetailPageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  @override
  String toString() {
    return 'CleanOrderDetailPageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId}';
  }
}

/// generated route for
/// [EvaluateCreateSuccessPage]
class EvaluateCreateSuccessPageRoute extends PageRouteInfo<void> {
  const EvaluateCreateSuccessPageRoute({List<PageRouteInfo>? children})
      : super(
          EvaluateCreateSuccessPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'EvaluateCreateSuccessPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [HistoryPage]
class HistoryPageRoute extends PageRouteInfo<void> {
  const HistoryPageRoute({List<PageRouteInfo>? children})
      : super(
          HistoryPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'HistoryPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [HomeServicePage]
class HomeServicePageRoute extends PageRouteInfo<void> {
  const HomeServicePageRoute({List<PageRouteInfo>? children})
      : super(
          HomeServicePageRoute.name,
          initialChildren: children,
        );

  static const String name = 'HomeServicePageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [InProgressPage]
class InProgressPageRoute extends PageRouteInfo<void> {
  const InProgressPageRoute({List<PageRouteInfo>? children})
      : super(
          InProgressPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'InProgressPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [RepairHistoryPage]
class RepairHistoryPageRoute extends PageRouteInfo<void> {
  const RepairHistoryPageRoute({List<PageRouteInfo>? children})
      : super(
          RepairHistoryPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'RepairHistoryPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [RepairHomeServicePage]
class RepairHomeServicePageRoute extends PageRouteInfo<void> {
  const RepairHomeServicePageRoute({List<PageRouteInfo>? children})
      : super(
          RepairHomeServicePageRoute.name,
          initialChildren: children,
        );

  static const String name = 'RepairHomeServicePageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [RepairInProgressPage]
class RepairInProgressPageRoute extends PageRouteInfo<void> {
  const RepairInProgressPageRoute({List<PageRouteInfo>? children})
      : super(
          RepairInProgressPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'RepairInProgressPageRoute';

  static const PageInfo<void> page = PageInfo<void>(name);
}

/// generated route for
/// [RepairPage]
class RepairPageRoute extends PageRouteInfo<RepairPageRouteArgs> {
  RepairPageRoute({
    Key? key,
    required int parentCategoryId,
    List<PageRouteInfo>? children,
  }) : super(
          RepairPageRoute.name,
          args: RepairPageRouteArgs(
            key: key,
            parentCategoryId: parentCategoryId,
          ),
          initialChildren: children,
        );

  static const String name = 'RepairPageRoute';

  static const PageInfo<RepairPageRouteArgs> page =
      PageInfo<RepairPageRouteArgs>(name);
}

class RepairPageRouteArgs {
  const RepairPageRouteArgs({
    this.key,
    required this.parentCategoryId,
  });

  final Key? key;

  final int parentCategoryId;

  @override
  String toString() {
    return 'RepairPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
  }
}

/// generated route for
/// [ServiceCleanDetailPage]
class ServiceCleanDetailPageRoute
    extends PageRouteInfo<ServiceCleanDetailPageRouteArgs> {
  ServiceCleanDetailPageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    required bool liked,
    required int likesCount,
    List<PageRouteInfo>? children,
  }) : super(
          ServiceCleanDetailPageRoute.name,
          args: ServiceCleanDetailPageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
            liked: liked,
            likesCount: likesCount,
          ),
          rawPathParams: {
            'id': id,
            'cleanServiceTypeId': cleanServiceTypeId,
          },
          initialChildren: children,
        );

  static const String name = 'ServiceCleanDetailPageRoute';

  static const PageInfo<ServiceCleanDetailPageRouteArgs> page =
      PageInfo<ServiceCleanDetailPageRouteArgs>(name);
}

class ServiceCleanDetailPageRouteArgs {
  const ServiceCleanDetailPageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
    required this.liked,
    required this.likesCount,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  final bool liked;

  final int likesCount;

  @override
  String toString() {
    return 'ServiceCleanDetailPageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId, liked: $liked, likesCount: $likesCount}';
  }
}

/// generated route for
/// [ServiceEvaluateCreatePage]
class ServiceEvaluateCreatePageRoute
    extends PageRouteInfo<ServiceEvaluateCreatePageRouteArgs> {
  ServiceEvaluateCreatePageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    List<PageRouteInfo>? children,
  }) : super(
          ServiceEvaluateCreatePageRoute.name,
          args: ServiceEvaluateCreatePageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
          ),
          initialChildren: children,
        );

  static const String name = 'ServiceEvaluateCreatePageRoute';

  static const PageInfo<ServiceEvaluateCreatePageRouteArgs> page =
      PageInfo<ServiceEvaluateCreatePageRouteArgs>(name);
}

class ServiceEvaluateCreatePageRouteArgs {
  const ServiceEvaluateCreatePageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  @override
  String toString() {
    return 'ServiceEvaluateCreatePageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId}';
  }
}

/// generated route for
/// [ServiceEvaluateListPage]
class ServiceEvaluateListPageRoute
    extends PageRouteInfo<ServiceEvaluateListPageRouteArgs> {
  ServiceEvaluateListPageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    List<PageRouteInfo>? children,
  }) : super(
          ServiceEvaluateListPageRoute.name,
          args: ServiceEvaluateListPageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
          ),
          initialChildren: children,
        );

  static const String name = 'ServiceEvaluateListPageRoute';

  static const PageInfo<ServiceEvaluateListPageRouteArgs> page =
      PageInfo<ServiceEvaluateListPageRouteArgs>(name);
}

class ServiceEvaluateListPageRouteArgs {
  const ServiceEvaluateListPageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  @override
  String toString() {
    return 'ServiceEvaluateListPageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId}';
  }
}

/// generated route for
/// [ServiceOrderConfirmPage]
class ServiceOrderConfirmPageRoute
    extends PageRouteInfo<ServiceOrderConfirmPageRouteArgs> {
  ServiceOrderConfirmPageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    List<PageRouteInfo>? children,
  }) : super(
          ServiceOrderConfirmPageRoute.name,
          args: ServiceOrderConfirmPageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
          ),
          initialChildren: children,
        );

  static const String name = 'ServiceOrderConfirmPageRoute';

  static const PageInfo<ServiceOrderConfirmPageRouteArgs> page =
      PageInfo<ServiceOrderConfirmPageRouteArgs>(name);
}

class ServiceOrderConfirmPageRouteArgs {
  const ServiceOrderConfirmPageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  @override
  String toString() {
    return 'ServiceOrderConfirmPageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId}';
  }
}

/// generated route for
/// [ServicePaySuccessPage]
class ServicePaySuccessPageRoute
    extends PageRouteInfo<ServicePaySuccessPageRouteArgs> {
  ServicePaySuccessPageRoute({
    Key? key,
    required int id,
    List<PageRouteInfo>? children,
  }) : super(
          ServicePaySuccessPageRoute.name,
          args: ServicePaySuccessPageRouteArgs(
            key: key,
            id: id,
          ),
          rawPathParams: {'id': id},
          initialChildren: children,
        );

  static const String name = 'ServicePaySuccessPageRoute';

  static const PageInfo<ServicePaySuccessPageRouteArgs> page =
      PageInfo<ServicePaySuccessPageRouteArgs>(name);
}

class ServicePaySuccessPageRouteArgs {
  const ServicePaySuccessPageRouteArgs({
    this.key,
    required this.id,
  });

  final Key? key;

  final int id;

  @override
  String toString() {
    return 'ServicePaySuccessPageRouteArgs{key: $key, id: $id}';
  }
}

/// generated route for
/// [ServiceRepairDetailPage]
class ServiceRepairDetailPageRoute
    extends PageRouteInfo<ServiceRepairDetailPageRouteArgs> {
  ServiceRepairDetailPageRoute({
    Key? key,
    required int id,
    int? cleanServiceTypeId,
    List<PageRouteInfo>? children,
  }) : super(
          ServiceRepairDetailPageRoute.name,
          args: ServiceRepairDetailPageRouteArgs(
            key: key,
            id: id,
            cleanServiceTypeId: cleanServiceTypeId,
          ),
          rawPathParams: {
            'id': id,
            'cleanServiceTypeId': cleanServiceTypeId,
          },
          initialChildren: children,
        );

  static const String name = 'ServiceRepairDetailPageRoute';

  static const PageInfo<ServiceRepairDetailPageRouteArgs> page =
      PageInfo<ServiceRepairDetailPageRouteArgs>(name);
}

class ServiceRepairDetailPageRouteArgs {
  const ServiceRepairDetailPageRouteArgs({
    this.key,
    required this.id,
    this.cleanServiceTypeId,
  });

  final Key? key;

  final int id;

  final int? cleanServiceTypeId;

  @override
  String toString() {
    return 'ServiceRepairDetailPageRouteArgs{key: $key, id: $id, cleanServiceTypeId: $cleanServiceTypeId}';
  }
}

/// generated route for
/// [ServicesMainPage]
class ServicesMainPageRoute extends PageRouteInfo<ServicesMainPageRouteArgs> {
  ServicesMainPageRoute({
    Key? key,
    List<PageRouteInfo>? children,
  }) : super(
          ServicesMainPageRoute.name,
          args: ServicesMainPageRouteArgs(key: key),
          initialChildren: children,
        );

  static const String name = 'ServicesMainPageRoute';

  static const PageInfo<ServicesMainPageRouteArgs> page =
      PageInfo<ServicesMainPageRouteArgs>(name);
}

class ServicesMainPageRouteArgs {
  const ServicesMainPageRouteArgs({this.key});

  final Key? key;

  @override
  String toString() {
    return 'ServicesMainPageRouteArgs{key: $key}';
  }
}

/// generated route for
/// [ServicesPage]
class ServicesPageRoute extends PageRouteInfo<ServicesPageRouteArgs> {
  ServicesPageRoute({
    Key? key,
    required int parentCategoryId,
    List<PageRouteInfo>? children,
  }) : super(
          ServicesPageRoute.name,
          args: ServicesPageRouteArgs(
            key: key,
            parentCategoryId: parentCategoryId,
          ),
          initialChildren: children,
        );

  static const String name = 'ServicesPageRoute';

  static const PageInfo<ServicesPageRouteArgs> page =
      PageInfo<ServicesPageRouteArgs>(name);
}

class ServicesPageRouteArgs {
  const ServicesPageRouteArgs({
    this.key,
    required this.parentCategoryId,
  });

  final Key? key;

  final int parentCategoryId;

  @override
  String toString() {
    return 'ServicesPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
  }
}
