Auction constructor
Auction({
- required int id,
- int? sellerOrderId,
- int? roundId,
- DateTime? startDate,
- int? startValue,
- int? statusId,
- int? maxBidStep,
- int? maxBidRecurrence,
- String? type,
- DateTime? currentTime,
- String? status,
- int? totalBids,
- required int currentBidStep,
- required int highestBid,
- required double totalPrice,
- DateTime? endDate,
- dynamic paymentStatus,
- 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,
});