OrderHeader constructor
OrderHeader({
- OrderId? id,
- Timestamp? createdAt,
- Credit? totalPriceInclVat,
- DeliveryId? deliveryId,
- int? lineCount,
- StoredImage? thumbnail,
Implementation
factory OrderHeader({
$0.OrderId? id,
$8.Timestamp? createdAt,
$5.Credit? totalPriceInclVat,
$0.DeliveryId? deliveryId,
$core.int? lineCount,
$9.StoredImage? thumbnail,
}) {
final result = create();
if (id != null) result.id = id;
if (createdAt != null) result.createdAt = createdAt;
if (totalPriceInclVat != null) result.totalPriceInclVat = totalPriceInclVat;
if (deliveryId != null) result.deliveryId = deliveryId;
if (lineCount != null) result.lineCount = lineCount;
if (thumbnail != null) result.thumbnail = thumbnail;
return result;
}