OrderModel constructor

const OrderModel({
  1. required String id,
  2. required OrganizationModel customer,
  3. required DateTime createdAt,
  4. required String status,
  5. required String paymentMethod,
  6. required String deliveryAddress,
  7. required double totalPrice,
  8. String? notse,
})

Implementation

const OrderModel({
  required this.id,
  required this.customer,
  required this.createdAt,
  required this.status,
  required this.paymentMethod,
  required this.deliveryAddress,
  required this.totalPrice,
  this.notse,
});