ObjectQuery constructor

ObjectQuery({
  1. ContinuationToken? continuation,
  2. AccountId? accountId,
  3. ObjectSentimentValue? sentiment,
  4. BoolValue? includeObjectsWithoutOwner,
  5. AccountUserId? owner,
  6. BoolValue? isBought,
  7. BoolValue? isForSale,
  8. bool? estimateTotalCount,
  9. BoolValue? isInDelivery,
  10. BoolValue? deleted,
  11. BoolValue? shipped,
})

Implementation

factory ObjectQuery({
  $0.ContinuationToken? continuation,
  $1.AccountId? accountId,
  ObjectSentimentValue? sentiment,
  $2.BoolValue? includeObjectsWithoutOwner,
  $1.AccountUserId? owner,
  $2.BoolValue? isBought,
  $2.BoolValue? isForSale,
  $core.bool? estimateTotalCount,
  $2.BoolValue? isInDelivery,
  $2.BoolValue? deleted,
  $2.BoolValue? shipped,
}) {
  final result = create();
  if (continuation != null) result.continuation = continuation;
  if (accountId != null) result.accountId = accountId;
  if (sentiment != null) result.sentiment = sentiment;
  if (includeObjectsWithoutOwner != null)
    result.includeObjectsWithoutOwner = includeObjectsWithoutOwner;
  if (owner != null) result.owner = owner;
  if (isBought != null) result.isBought = isBought;
  if (isForSale != null) result.isForSale = isForSale;
  if (estimateTotalCount != null)
    result.estimateTotalCount = estimateTotalCount;
  if (isInDelivery != null) result.isInDelivery = isInDelivery;
  if (deleted != null) result.deleted = deleted;
  if (shipped != null) result.shipped = shipped;
  return result;
}