DeliveryObjectQuery constructor

DeliveryObjectQuery({
  1. ContinuationToken? continuation,
  2. DeliveryId? deliveryId,
  3. Iterable<DeliveryObject_DeliveryObjectStatus>? withStatus,
  4. Iterable<DeliveryObject_DeliveryObjectStatus>? withoutStatus,
  5. ContainerId? location,
  6. 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;
}