// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

part of 'property_page_router.dart';

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

  @override
  final Map<String, PageFactory> pagesMap = {
    PropertyIoanPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const PropertyIoanPage(),
      );
    },
    PropertyNewsDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<PropertyNewsDetailPageRouteArgs>(
          orElse: () =>
              PropertyNewsDetailPageRouteArgs(id: pathParams.getInt('id')));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: PropertyNewsDetailPage(
          key: args.key,
          id: args.id,
        ),
      );
    },
    PropertyNewsPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const PropertyNewsPage(),
      );
    },
    PropertyPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const PropertyPage(),
      );
    },
    PropertyRentPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const PropertyRentPage(),
      );
    },
    PropertySalePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const PropertySalePage(),
      );
    },
  };
}

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

  static const String name = 'PropertyIoanPageRoute';

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

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

  static const String name = 'PropertyNewsDetailPageRoute';

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

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

  final Key? key;

  final int id;

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

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

  static const String name = 'PropertyNewsPageRoute';

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

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

  static const String name = 'PropertyPageRoute';

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

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

  static const String name = 'PropertyRentPageRoute';

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

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

  static const String name = 'PropertySalePageRoute';

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