DeliveryObjectQuery constructor
DeliveryObjectQuery({
- ContinuationToken? continuation,
- DeliveryId? deliveryId,
- Iterable<
DeliveryObject_DeliveryObjectStatus> ? withStatus, - Iterable<
DeliveryObject_DeliveryObjectStatus> ? withoutStatus, - ContainerId? location,
- Iterable<
DeliveryObjectQuery_ObjectOrdering> ? orderBy,
Implementation
factory DeliveryObjectQuery({
$0.ContinuationToken? continuation,
$1.DeliveryId? deliveryId,
$core.Iterable<DeliveryObject_DeliveryObjectStatus>? withStatus,
$core.Iterable<DeliveryObject_DeliveryObjectStatus>? withoutStatus,
$1.ContainerId? location,
$core.Iterable<DeliveryObjectQuery_ObjectOrdering>? orderBy,
}) {
final result = create();
if (continuation != null) result.continuation = continuation;
if (deliveryId != null) result.deliveryId = deliveryId;
if (withStatus != null) result.withStatus.addAll(withStatus);
if (withoutStatus != null) result.withoutStatus.addAll(withoutStatus);
if (location != null) result.location = location;
if (orderBy != null) result.orderBy.addAll(orderBy);
return result;
}