DeliveryObject constructor

DeliveryObject({
  1. RowVersion? rowVersion,
  2. StoredObjectId? objectId,
  3. DeliveryId? deliveryId,
  4. DeliveryObject_DeliveryObjectStatus? status,
  5. StoredImage? thumbnail,
  6. Container? container,
  7. StoredObject? object,
  8. PickBinId? pickBinId,
  9. Container? pickLocation,
})

Implementation

factory DeliveryObject({
  $0.RowVersion? rowVersion,
  $1.StoredObjectId? objectId,
  $1.DeliveryId? deliveryId,
  DeliveryObject_DeliveryObjectStatus? status,
  $4.StoredImage? thumbnail,
  $8.Container? container,
  $9.StoredObject? object,
  $0.PickBinId? pickBinId,
  $8.Container? pickLocation,
}) {
  final result = create();
  if (rowVersion != null) result.rowVersion = rowVersion;
  if (objectId != null) result.objectId = objectId;
  if (deliveryId != null) result.deliveryId = deliveryId;
  if (status != null) result.status = status;
  if (thumbnail != null) result.thumbnail = thumbnail;
  if (container != null) result.container = container;
  if (object != null) result.object = object;
  if (pickBinId != null) result.pickBinId = pickBinId;
  if (pickLocation != null) result.pickLocation = pickLocation;
  return result;
}