// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

part of 'community_page_router.dart';

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

  @override
  final Map<String, PageFactory> pagesMap = {
    CommunityPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child:  CommunityPage(),
      );
    },
    FollowingPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const FollowingPage(),
      );
    },
    ForrentPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const ForrentPage(),
      );
    },
    ForsalePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const ForsalePage(),
      );
    },
    ForyouPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const ForyouPage(),
      );
    },
    GaragesaleDetailPageRoute.name: (routeData) {
      final args = routeData.argsAs<GaragesaleDetailPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: GaragesaleDetailPage(
          key: args.key,
          id: args.id,
          type: args.type,
        ),
      );
    },
    GaragesalePostPageRoute.name: (routeData) {
      final args = routeData.argsAs<GaragesalePostPageRouteArgs>();
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: GaragesalePostPage(
          key: args.key,
          type: args.type,
          sCallback: args.sCallback,
          fCallback: args.fCallback,
        ),
      );
    },
    MyFollowPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyFollowPage(),
      );
    },
    MyFollowerPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyFollowerPage(),
      );
    },
    MyFollowingPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyFollowingPage(),
      );
    },
    MyPostsForRentPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyPostsForRentPage(),
      );
    },
    MyPostsForSalePageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyPostsForSalePage(),
      );
    },
    MyPostsNewsfeedPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyPostsNewsfeedPage(),
      );
    },
    MyPostsPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const MyPostsPage(),
      );
    },
    NewsPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const NewsPage(),
      );
    },
    NewsfeedDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<NewsfeedDetailPageRouteArgs>(
          orElse: () => NewsfeedDetailPageRouteArgs(
                id: pathParams.optInt('id'),
                type: pathParams.optString('type'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: NewsfeedDetailPage(
          key: args.key,
          id: args.id,
          type: args.type,
        ),
      );
    },
    NewsfeedPostPageRoute.name: (routeData) {
      final args = routeData.argsAs<NewsfeedPostPageRouteArgs>(
          orElse: () => const NewsfeedPostPageRouteArgs());
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: NewsfeedPostPage(
          key: args.key,
          sCallback: args.sCallback,
          fCallback: args.fCallback,
        ),
      );
    },
  };
}

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

  static const String name = 'CommunityPageRoute';

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

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

  static const String name = 'FollowingPageRoute';

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

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

  static const String name = 'ForrentPageRoute';

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

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

  static const String name = 'ForsalePageRoute';

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

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

  static const String name = 'ForyouPageRoute';

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

/// generated route for
/// [GaragesaleDetailPage]
class GaragesaleDetailPageRoute
    extends PageRouteInfo<GaragesaleDetailPageRouteArgs> {
  GaragesaleDetailPageRoute({
    Key? key,
    required int id,
    required String type,
    List<PageRouteInfo>? children,
  }) : super(
          GaragesaleDetailPageRoute.name,
          args: GaragesaleDetailPageRouteArgs(
            key: key,
            id: id,
            type: type,
          ),
          initialChildren: children,
        );

  static const String name = 'GaragesaleDetailPageRoute';

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

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

  final Key? key;

  final int id;

  final String type;

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

/// generated route for
/// [GaragesalePostPage]
class GaragesalePostPageRoute
    extends PageRouteInfo<GaragesalePostPageRouteArgs> {
  GaragesalePostPageRoute({
    Key? key,
    required int type,
    void Function()? sCallback,
    void Function()? fCallback,
    List<PageRouteInfo>? children,
  }) : super(
          GaragesalePostPageRoute.name,
          args: GaragesalePostPageRouteArgs(
            key: key,
            type: type,
            sCallback: sCallback,
            fCallback: fCallback,
          ),
          initialChildren: children,
        );

  static const String name = 'GaragesalePostPageRoute';

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

class GaragesalePostPageRouteArgs {
  const GaragesalePostPageRouteArgs({
    this.key,
    required this.type,
    this.sCallback,
    this.fCallback,
  });

  final Key? key;

  final int type;

  final void Function()? sCallback;

  final void Function()? fCallback;

  @override
  String toString() {
    return 'GaragesalePostPageRouteArgs{key: $key, type: $type, sCallback: $sCallback, fCallback: $fCallback}';
  }
}

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

  static const String name = 'MyFollowPageRoute';

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

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

  static const String name = 'MyFollowerPageRoute';

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

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

  static const String name = 'MyFollowingPageRoute';

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

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

  static const String name = 'MyPostsForRentPageRoute';

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

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

  static const String name = 'MyPostsForSalePageRoute';

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

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

  static const String name = 'MyPostsNewsfeedPageRoute';

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

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

  static const String name = 'MyPostsPageRoute';

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

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

  static const String name = 'NewsPageRoute';

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

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

  static const String name = 'NewsfeedDetailPageRoute';

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

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

  final Key? key;

  final int? id;

  final String? type;

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

/// generated route for
/// [NewsfeedPostPage]
class NewsfeedPostPageRoute extends PageRouteInfo<NewsfeedPostPageRouteArgs> {
  NewsfeedPostPageRoute({
    Key? key,
    void Function()? sCallback,
    void Function()? fCallback,
    List<PageRouteInfo>? children,
  }) : super(
          NewsfeedPostPageRoute.name,
          args: NewsfeedPostPageRouteArgs(
            key: key,
            sCallback: sCallback,
            fCallback: fCallback,
          ),
          initialChildren: children,
        );

  static const String name = 'NewsfeedPostPageRoute';

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

class NewsfeedPostPageRouteArgs {
  const NewsfeedPostPageRouteArgs({
    this.key,
    this.sCallback,
    this.fCallback,
  });

  final Key? key;

  final void Function()? sCallback;

  final void Function()? fCallback;

  @override
  String toString() {
    return 'NewsfeedPostPageRouteArgs{key: $key, sCallback: $sCallback, fCallback: $fCallback}';
  }
}
