// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

part of 'notice_board_page_router.dart';

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

  @override
  final Map<String, PageFactory> pagesMap = {
    AnnounPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const AnnounPage(),
      );
    },
    AnnouncementDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<AnnouncementDetailPageRouteArgs>(
          orElse: () => AnnouncementDetailPageRouteArgs(
                id: pathParams.optInt('id'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: AnnouncementDetailPage(
          key: args.key,
          id: args.id,
        ),
      );
    },
    DocumentsPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const DocumentsPage(),
      );
    },
    EventDetailPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<EventDetailPageRouteArgs>(
          orElse: () => EventDetailPageRouteArgs(
                id: pathParams.optInt('id'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: EventDetailPage(
          key: args.key,
          id: args.id,
        ),
      );
    },
    DocumentsListPageRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<DocumentsListPageRouteArgs>(
          orElse: () => DocumentsListPageRouteArgs(
                id: pathParams.optInt('id'),
              ));
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: DocumentsListPage(
          key: args.key,
          id: args.id,
        ),
      );
    },
    EventPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const EventPage(),
      );
    },
    NoticeBoardPageRoute.name: (routeData) {
      return AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const NoticeBoardPage(),
      );
    },
  };
}

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

  static const String name = 'AnnounPageRoute';

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

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

  static const String name = 'AnnouncementDetailPageRoute';

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

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

  final Key? key;

  final int? id;

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

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

  static const String name = 'DocumentsPageRoute';

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

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

  static const String name = 'EventDetailPageRoute';

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

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

  final Key? key;

  final int? id;

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

/// generated route for
/// [DocumentsListPage]

class DocumentsListPageRoute extends PageRouteInfo<DocumentsListPageRouteArgs> {
  DocumentsListPageRoute({
    Key? key,
    required int? id,
    List<PageRouteInfo>? children,
  }) : super(
          DocumentsListPageRoute.name,
          args: DocumentsListPageRouteArgs(
            key: key,
            id: id,
          ),
          rawPathParams: {
            'id': id,
          },
          initialChildren: children,
        );

  static const String name = 'DocumentsListPageRoute';

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

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

  final Key? key;

  final int? id;

  @override
  String toString() {
    return 'DocumentsListPageRouteArgs{key: $key, id: $id}';
  }
}
/// generated route for
/// [EventPage]
class EventPageRoute extends PageRouteInfo<void> {
  const EventPageRoute({List<PageRouteInfo>? children})
      : super(
          EventPageRoute.name,
          initialChildren: children,
        );

  static const String name = 'EventPageRoute';

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

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

  static const String name = 'NoticeBoardPageRoute';

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