AsyncOperationQuery constructor

AsyncOperationQuery({
  1. ContinuationToken? continuation,
  2. AsyncOperationType? type,
  3. Timestamp? createdBefore,
  4. AsyncOperation_AsyncStatus? status,
  5. BoolValue? hasErrors,
})

Implementation

factory AsyncOperationQuery({
  $0.ContinuationToken? continuation,
  $1.AsyncOperationType? type,
  $2.Timestamp? createdBefore,
  AsyncOperation_AsyncStatus? status,
  $4.BoolValue? hasErrors,
}) {
  final result = create();
  if (continuation != null) result.continuation = continuation;
  if (type != null) result.type = type;
  if (createdBefore != null) result.createdBefore = createdBefore;
  if (status != null) result.status = status;
  if (hasErrors != null) result.hasErrors = hasErrors;
  return result;
}