InfrastructuresServiceSendToStoreRequest constructor

InfrastructuresServiceSendToStoreRequest({
  1. String? userComment,
  2. Int64? id,
  3. Int64? shelfLifeTimestamp,
  4. Int64? warrantyTimestamp,
  5. Int64? storeId,
  6. Int64? storageId,
  7. bool? isQcReportPublic,
  8. String? remainingDimensions,
  9. String? description,
})

Implementation

factory InfrastructuresServiceSendToStoreRequest({
  $core.String? userComment,
  $fixnum.Int64? id,
  $fixnum.Int64? shelfLifeTimestamp,
  $fixnum.Int64? warrantyTimestamp,
  $fixnum.Int64? storeId,
  $fixnum.Int64? storageId,
  $core.bool? isQcReportPublic,
  $core.String? remainingDimensions,
  $core.String? description,
}) {
  final result = create();
  if (userComment != null) result.userComment = userComment;
  if (id != null) result.id = id;
  if (shelfLifeTimestamp != null)
    result.shelfLifeTimestamp = shelfLifeTimestamp;
  if (warrantyTimestamp != null) result.warrantyTimestamp = warrantyTimestamp;
  if (storeId != null) result.storeId = storeId;
  if (storageId != null) result.storageId = storageId;
  if (isQcReportPublic != null) result.isQcReportPublic = isQcReportPublic;
  if (remainingDimensions != null)
    result.remainingDimensions = remainingDimensions;
  if (description != null) result.description = description;
  return result;
}