ReviewQuery constructor

ReviewQuery({
  1. ContinuationToken? continuation,
  2. AccountId? accountId,
  3. StoredObjectId? objectId,
  4. AccountUserId? authoredBy,
  5. Int32Value? pageSize,
})

Implementation

factory ReviewQuery({
  $2.ContinuationToken? continuation,
  $1.AccountId? accountId,
  $1.StoredObjectId? objectId,
  $1.AccountUserId? authoredBy,
  $3.Int32Value? pageSize,
}) {
  final result = create();
  if (continuation != null) result.continuation = continuation;
  if (accountId != null) result.accountId = accountId;
  if (objectId != null) result.objectId = objectId;
  if (authoredBy != null) result.authoredBy = authoredBy;
  if (pageSize != null) result.pageSize = pageSize;
  return result;
}