OrderDetailsModel constructor Null safety

OrderDetailsModel(
  1. {AddressModel? address,
  2. Store? store,
  3. List<OrderItem>? orderItems,
  4. String? currency,
  5. String? paymentType,
  6. bool? canCancel,
  7. String? date,
  8. int? id,
  9. String? orderNo,
  10. int? productsCount,
  11. double? total,
  12. String? orderStatus}
)

Implementation

OrderDetailsModel({
  this.address,
  this.store,
  this.orderItems,
  this.currency,
  this.paymentType,
  this.canCancel,
  this.date,
  this.id,
  this.orderNo,
  this.productsCount,
  this.total,
  this.orderStatus,
});