// dart format width=80
// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:apskel_pos_flutter_v2/common/types/split_type.dart' as _i25;
import 'package:apskel_pos_flutter_v2/domain/order/order.dart' as _i24;
import 'package:apskel_pos_flutter_v2/presentation/pages/auth/login/login_page.dart'
    as _i4;
import 'package:apskel_pos_flutter_v2/presentation/pages/checkout/checkout_page.dart'
    as _i1;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/main_page.dart'
    as _i5;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/customer/customer_page.dart'
    as _i2;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/home/home_page.dart'
    as _i3;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/report/report_page.dart'
    as _i12;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/setting/setting_page.dart'
    as _i13;
import 'package:apskel_pos_flutter_v2/presentation/pages/main/pages/table/table_page.dart'
    as _i19;
import 'package:apskel_pos_flutter_v2/presentation/pages/order/order_page.dart'
    as _i6;
import 'package:apskel_pos_flutter_v2/presentation/pages/order/pages/success_add_item_order/success_add_item_order_page.dart'
    as _i16;
import 'package:apskel_pos_flutter_v2/presentation/pages/order/pages/success_order/success_order_page.dart'
    as _i17;
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/pages/payment_success/payment_success_page.dart'
    as _i8;
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/pages/payment_success_split_bill/payment_success_split_bill_page.dart'
    as _i9;
import 'package:apskel_pos_flutter_v2/presentation/pages/payment/payment_page.dart'
    as _i7;
import 'package:apskel_pos_flutter_v2/presentation/pages/refund/pages/refund_success/refund_success_page.dart'
    as _i11;
import 'package:apskel_pos_flutter_v2/presentation/pages/refund/refund_page.dart'
    as _i10;
import 'package:apskel_pos_flutter_v2/presentation/pages/splash/splash_page.dart'
    as _i14;
import 'package:apskel_pos_flutter_v2/presentation/pages/split_bill/split_bill_page.dart'
    as _i15;
import 'package:apskel_pos_flutter_v2/presentation/pages/sync/sync_page.dart'
    as _i18;
import 'package:apskel_pos_flutter_v2/presentation/pages/void/pages/void_success/void_success_page.dart'
    as _i21;
import 'package:apskel_pos_flutter_v2/presentation/pages/void/void_page.dart'
    as _i20;
import 'package:auto_route/auto_route.dart' as _i22;
import 'package:flutter/material.dart' as _i23;

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

  static const String name = 'CheckoutRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i1.CheckoutPage());
    },
  );
}

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

  static const String name = 'CustomerRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i2.CustomerPage());
    },
  );
}

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

  static const String name = 'HomeRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i3.HomePage());
    },
  );
}

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

  static const String name = 'LoginRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i4.LoginPage());
    },
  );
}

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

  static const String name = 'MainRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return const _i5.MainPage();
    },
  );
}

/// generated route for
/// [_i6.OrderPage]
class OrderRoute extends _i22.PageRouteInfo<OrderRouteArgs> {
  OrderRoute({
    _i23.Key? key,
    required String status,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         OrderRoute.name,
         args: OrderRouteArgs(key: key, status: status),
         initialChildren: children,
       );

  static const String name = 'OrderRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<OrderRouteArgs>();
      return _i22.WrappedRoute(
        child: _i6.OrderPage(key: args.key, status: args.status),
      );
    },
  );
}

class OrderRouteArgs {
  const OrderRouteArgs({this.key, required this.status});

  final _i23.Key? key;

  final String status;

  @override
  String toString() {
    return 'OrderRouteArgs{key: $key, status: $status}';
  }
}

/// generated route for
/// [_i7.PaymentPage]
class PaymentRoute extends _i22.PageRouteInfo<PaymentRouteArgs> {
  PaymentRoute({
    _i23.Key? key,
    required _i24.Order order,
    bool isSplit = false,
    _i25.SplitType splitType = _i25.SplitType.unknown,
    String? customerId,
    String? customerName,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         PaymentRoute.name,
         args: PaymentRouteArgs(
           key: key,
           order: order,
           isSplit: isSplit,
           splitType: splitType,
           customerId: customerId,
           customerName: customerName,
         ),
         initialChildren: children,
       );

  static const String name = 'PaymentRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<PaymentRouteArgs>();
      return _i22.WrappedRoute(
        child: _i7.PaymentPage(
          key: args.key,
          order: args.order,
          isSplit: args.isSplit,
          splitType: args.splitType,
          customerId: args.customerId,
          customerName: args.customerName,
        ),
      );
    },
  );
}

class PaymentRouteArgs {
  const PaymentRouteArgs({
    this.key,
    required this.order,
    this.isSplit = false,
    this.splitType = _i25.SplitType.unknown,
    this.customerId,
    this.customerName,
  });

  final _i23.Key? key;

  final _i24.Order order;

  final bool isSplit;

  final _i25.SplitType splitType;

  final String? customerId;

  final String? customerName;

  @override
  String toString() {
    return 'PaymentRouteArgs{key: $key, order: $order, isSplit: $isSplit, splitType: $splitType, customerId: $customerId, customerName: $customerName}';
  }
}

/// generated route for
/// [_i8.PaymentSuccessPage]
class PaymentSuccessRoute extends _i22.PageRouteInfo<PaymentSuccessRouteArgs> {
  PaymentSuccessRoute({
    _i23.Key? key,
    required String orderId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         PaymentSuccessRoute.name,
         args: PaymentSuccessRouteArgs(key: key, orderId: orderId),
         initialChildren: children,
       );

  static const String name = 'PaymentSuccessRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<PaymentSuccessRouteArgs>();
      return _i22.WrappedRoute(
        child: _i8.PaymentSuccessPage(key: args.key, orderId: args.orderId),
      );
    },
  );
}

class PaymentSuccessRouteArgs {
  const PaymentSuccessRouteArgs({this.key, required this.orderId});

  final _i23.Key? key;

  final String orderId;

  @override
  String toString() {
    return 'PaymentSuccessRouteArgs{key: $key, orderId: $orderId}';
  }
}

/// generated route for
/// [_i9.PaymentSuccessSplitBillPage]
class PaymentSuccessSplitBillRoute
    extends _i22.PageRouteInfo<PaymentSuccessSplitBillRouteArgs> {
  PaymentSuccessSplitBillRoute({
    _i23.Key? key,
    required String orderId,
    required List<_i24.OrderItem> orderItems,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         PaymentSuccessSplitBillRoute.name,
         args: PaymentSuccessSplitBillRouteArgs(
           key: key,
           orderId: orderId,
           orderItems: orderItems,
         ),
         initialChildren: children,
       );

  static const String name = 'PaymentSuccessSplitBillRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<PaymentSuccessSplitBillRouteArgs>();
      return _i22.WrappedRoute(
        child: _i9.PaymentSuccessSplitBillPage(
          key: args.key,
          orderId: args.orderId,
          orderItems: args.orderItems,
        ),
      );
    },
  );
}

class PaymentSuccessSplitBillRouteArgs {
  const PaymentSuccessSplitBillRouteArgs({
    this.key,
    required this.orderId,
    required this.orderItems,
  });

  final _i23.Key? key;

  final String orderId;

  final List<_i24.OrderItem> orderItems;

  @override
  String toString() {
    return 'PaymentSuccessSplitBillRouteArgs{key: $key, orderId: $orderId, orderItems: $orderItems}';
  }
}

/// generated route for
/// [_i10.RefundPage]
class RefundRoute extends _i22.PageRouteInfo<RefundRouteArgs> {
  RefundRoute({
    _i23.Key? key,
    required _i24.Order order,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         RefundRoute.name,
         args: RefundRouteArgs(key: key, order: order),
         initialChildren: children,
       );

  static const String name = 'RefundRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<RefundRouteArgs>();
      return _i22.WrappedRoute(
        child: _i10.RefundPage(key: args.key, order: args.order),
      );
    },
  );
}

class RefundRouteArgs {
  const RefundRouteArgs({this.key, required this.order});

  final _i23.Key? key;

  final _i24.Order order;

  @override
  String toString() {
    return 'RefundRouteArgs{key: $key, order: $order}';
  }
}

/// generated route for
/// [_i11.RefundSuccessPage]
class RefundSuccessRoute extends _i22.PageRouteInfo<RefundSuccessRouteArgs> {
  RefundSuccessRoute({
    _i23.Key? key,
    required String orderId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         RefundSuccessRoute.name,
         args: RefundSuccessRouteArgs(key: key, orderId: orderId),
         initialChildren: children,
       );

  static const String name = 'RefundSuccessRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<RefundSuccessRouteArgs>();
      return _i22.WrappedRoute(
        child: _i11.RefundSuccessPage(key: args.key, orderId: args.orderId),
      );
    },
  );
}

class RefundSuccessRouteArgs {
  const RefundSuccessRouteArgs({this.key, required this.orderId});

  final _i23.Key? key;

  final String orderId;

  @override
  String toString() {
    return 'RefundSuccessRouteArgs{key: $key, orderId: $orderId}';
  }
}

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

  static const String name = 'ReportRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i12.ReportPage());
    },
  );
}

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

  static const String name = 'SettingRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i13.SettingPage());
    },
  );
}

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

  static const String name = 'SplashRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return const _i14.SplashPage();
    },
  );
}

/// generated route for
/// [_i15.SplitBillPage]
class SplitBillRoute extends _i22.PageRouteInfo<SplitBillRouteArgs> {
  SplitBillRoute({
    _i23.Key? key,
    required _i24.Order order,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         SplitBillRoute.name,
         args: SplitBillRouteArgs(key: key, order: order),
         initialChildren: children,
       );

  static const String name = 'SplitBillRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<SplitBillRouteArgs>();
      return _i22.WrappedRoute(
        child: _i15.SplitBillPage(key: args.key, order: args.order),
      );
    },
  );
}

class SplitBillRouteArgs {
  const SplitBillRouteArgs({this.key, required this.order});

  final _i23.Key? key;

  final _i24.Order order;

  @override
  String toString() {
    return 'SplitBillRouteArgs{key: $key, order: $order}';
  }
}

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

  static const String name = 'SuccessAddItemOrderRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return const _i16.SuccessAddItemOrderPage();
    },
  );
}

/// generated route for
/// [_i17.SuccessOrderPage]
class SuccessOrderRoute extends _i22.PageRouteInfo<SuccessOrderRouteArgs> {
  SuccessOrderRoute({
    _i23.Key? key,
    required _i24.Order order,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         SuccessOrderRoute.name,
         args: SuccessOrderRouteArgs(key: key, order: order),
         initialChildren: children,
       );

  static const String name = 'SuccessOrderRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<SuccessOrderRouteArgs>();
      return _i22.WrappedRoute(
        child: _i17.SuccessOrderPage(key: args.key, order: args.order),
      );
    },
  );
}

class SuccessOrderRouteArgs {
  const SuccessOrderRouteArgs({this.key, required this.order});

  final _i23.Key? key;

  final _i24.Order order;

  @override
  String toString() {
    return 'SuccessOrderRouteArgs{key: $key, order: $order}';
  }
}

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

  static const String name = 'SyncRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i18.SyncPage());
    },
  );
}

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

  static const String name = 'TableRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return _i22.WrappedRoute(child: const _i19.TablePage());
    },
  );
}

/// generated route for
/// [_i20.VoidPage]
class VoidRoute extends _i22.PageRouteInfo<VoidRouteArgs> {
  VoidRoute({
    _i23.Key? key,
    required _i24.Order order,
    List<_i22.PageRouteInfo>? children,
  }) : super(
         VoidRoute.name,
         args: VoidRouteArgs(key: key, order: order),
         initialChildren: children,
       );

  static const String name = 'VoidRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      final args = data.argsAs<VoidRouteArgs>();
      return _i22.WrappedRoute(
        child: _i20.VoidPage(key: args.key, order: args.order),
      );
    },
  );
}

class VoidRouteArgs {
  const VoidRouteArgs({this.key, required this.order});

  final _i23.Key? key;

  final _i24.Order order;

  @override
  String toString() {
    return 'VoidRouteArgs{key: $key, order: $order}';
  }
}

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

  static const String name = 'VoidSuccessRoute';

  static _i22.PageInfo page = _i22.PageInfo(
    name,
    builder: (data) {
      return const _i21.VoidSuccessPage();
    },
  );
}
