mirrored_repositories/FoodieMania-Food-Delivery-App/lib
class Carts {
  int? id;
  double price;
  String food;
  String date;
  String imageURL;
  String restaurant;
  int quantity;

  Carts(
      {this.id,
      required this.date,
      required this.price,
      required this.food,
      required this.restaurant,
      required this.quantity,
      required this.imageURL});

  Map<String, dynamic> toMap() {
    return {
      'id': id,
      'price': price,
      'food': food,
      'quantity': quantity,
      'restaurant': restaurant,
      'date': date,
      'imageURL': imageURL
    };
  }
}
