PrintRequest constructor
PrintRequest({
- DeliveryId? deliveryId,
- DoubleValue? totalWeightInGrams,
Implementation
factory PrintRequest({
$1.DeliveryId? deliveryId,
$3.DoubleValue? totalWeightInGrams,
}) {
final result = create();
if (deliveryId != null) result.deliveryId = deliveryId;
if (totalWeightInGrams != null)
result.totalWeightInGrams = totalWeightInGrams;
return result;
}