order.dart 752 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. class Order {
  2. final String email;
  3. final String name;
  4. final String time;
  5. final String route;
  6. final String start;
  7. final int pax;
  8. final String price;
  9. Order({
  10. required this.name,
  11. required this.email,
  12. required this.time,
  13. required this.route,
  14. required this.start,
  15. required this.pax,
  16. required this.price,
  17. });
  18. }
  19. // Example list of orders
  20. List<Order> orders = [
  21. Order(
  22. name: 'Miki',
  23. email: 'abc@gmail.com',
  24. time: '24-1-1 07:40 AM',
  25. route: 'Within UPM',
  26. start: 'FSKTM',
  27. pax: 2,
  28. price: '5',
  29. ),
  30. Order(
  31. name: 'Aqil',
  32. email: '2323@upm.com',
  33. time: '24-1-2 08:40 AM',
  34. route: 'Within UPM',
  35. start: 'K17',
  36. pax: 2,
  37. price: '5',
  38. ),
  39. // Add more orders here
  40. ];