// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

part of 'facility_page_router.dart';

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

  @override
  final Map<String, PageFactory> pagesMap = {
    BookConfirmPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const BookConfirmPage(),
      );
    },
    FacilityActivePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityActiveScreen(),
      );
    },
    FacilityBookPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityBookScreen(),
      );
    },
    FacilityBookingPageRoute.name: (routeData) {
      final args = routeData.argsAs<FacilityBookingPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityBookingPage(
          key: args.key,
          facilityEntity: args.facilityEntity,
        ),
      );
    },
    FacilityDepositPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityDepositScreen(),
      );
    },
    FacilityDetailPageRoute.name: (routeData) {
      final args = routeData.argsAs<FacilityDetailPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityDetailPage(
          key: args.key,
          bookingId: args.bookingId,
        ),
      );
    },
    FacilityHistoryPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityHistoryScreen(),
      );
    },
    FacilityLocationPageRoute.name: (routeData) {
      final args = routeData.argsAs<FacilityLocationPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: FacilityLocationPage(
          key: args.key,
          imageUrls: args.imageUrls,
        ),
      );
    },
    FacilityPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const FacilityPage(),
      );
    },
  };
}

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

  static const String name = 'BookConfirmPageRoute';

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

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

  static const String name = 'FacilityActivePageRoute';

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

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

  static const String name = 'FacilityBookPageRoute';

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

/// generated route for
/// [FacilityBookingPage]
class FacilityBookingPageRoute
    extends PageRouteInfo<FacilityBookingPageRouteArgs> {
  FacilityBookingPageRoute({
    Key? key,
    required FacilityIndexEntity facilityEntity,
    List<PageRouteInfo>? children,
  }) : super(
          FacilityBookingPageRoute.name,
          args: FacilityBookingPageRouteArgs(
            key: key,
            facilityEntity: facilityEntity,
          ),
          initialChildren: children,
        );

  static const String name = 'FacilityBookingPageRoute';

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

class FacilityBookingPageRouteArgs {
  const FacilityBookingPageRouteArgs({
    this.key,
    required this.facilityEntity,
  });

  final Key? key;

  final FacilityIndexEntity facilityEntity;

  @override
  String toString() {
    return 'FacilityBookingPageRouteArgs{key: $key, facilityEntity: $facilityEntity}';
  }
}

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

  static const String name = 'FacilityDepositPageRoute';

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

/// generated route for
/// [FacilityDetailPage]
class FacilityDetailPageRoute
    extends PageRouteInfo<FacilityDetailPageRouteArgs> {
  FacilityDetailPageRoute({
    Key? key,
    required String? bookingId,
    List<PageRouteInfo>? children,
  }) : super(
          FacilityDetailPageRoute.name,
          args: FacilityDetailPageRouteArgs(
            key: key,
            bookingId: bookingId,
          ),
          initialChildren: children,
        );

  static const String name = 'FacilityDetailPageRoute';

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

class FacilityDetailPageRouteArgs {
  const FacilityDetailPageRouteArgs({
    this.key,
    required this.bookingId,
  });

  final Key? key;

  final String? bookingId;

  @override
  String toString() {
    return 'FacilityDetailPageRouteArgs{key: $key, bookingId: $bookingId}';
  }
}

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

  static const String name = 'FacilityHistoryPageRoute';

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

/// generated route for
/// [FacilityLocationPage]
class FacilityLocationPageRoute
    extends PageRouteInfo<FacilityLocationPageRouteArgs> {
  FacilityLocationPageRoute({
    Key? key,
    required List<String> imageUrls,
    List<PageRouteInfo>? children,
  }) : super(
          FacilityLocationPageRoute.name,
          args: FacilityLocationPageRouteArgs(
            key: key,
            imageUrls: imageUrls,
          ),
          initialChildren: children,
        );

  static const String name = 'FacilityLocationPageRoute';

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

class FacilityLocationPageRouteArgs {
  const FacilityLocationPageRouteArgs({
    this.key,
    required this.imageUrls,
  });

  final Key? key;

  final List<String> imageUrls;

  @override
  String toString() {
    return 'FacilityLocationPageRouteArgs{key: $key, imageUrls: $imageUrls}';
  }
}

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

  static const String name = 'FacilityPageRoute';

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