OrderModel constructor Null safety

OrderModel(
  1. {String? date,
  2. int? id,
  3. String? orderNo,
  4. int? productsCount,
  5. double? total,
  6. String? orderStatus}
)

Implementation

OrderModel({
  this.date,
  this.id,
  this.orderNo,
  this.productsCount,
  this.total,
  this.orderStatus,
});