Auction constructor

Auction({
  1. required int id,
  2. int? sellerOrderId,
  3. int? roundId,
  4. DateTime? startDate,
  5. int? startValue,
  6. int? statusId,
  7. int? maxBidStep,
  8. int? maxBidRecurrence,
  9. String? type,
  10. DateTime? currentTime,
  11. String? status,
  12. int? totalBids,
  13. required int currentBidStep,
  14. required int highestBid,
  15. required double totalPrice,
  16. DateTime? endDate,
  17. dynamic paymentStatus,
  18. Order? order,
})

Implementation

Auction({
  required this.id,
  this.sellerOrderId,
  this.roundId,
  this.startDate,
  this.startValue,
  this.statusId,
  this.maxBidStep,
  this.maxBidRecurrence,
  this.type,
  this.currentTime,
  this.status,
  this.totalBids,
  required this.currentBidStep,
  required this.highestBid,
  required this.totalPrice,
  this.endDate,
  this.paymentStatus,
  this.order,
});