Target constructor

Target({
  1. Target_QueryTarget? query,
  2. Target_DocumentsTarget? documents,
  3. List<int>? resumeToken,
  4. int? targetId,
  5. bool? once,
  6. Timestamp? readTime,
  7. Int32Value? expectedCount,
})

Implementation

factory Target({
  Target_QueryTarget? query,
  Target_DocumentsTarget? documents,
  $core.List<$core.int>? resumeToken,
  $core.int? targetId,
  $core.bool? once,
  $4.Timestamp? readTime,
  $8.Int32Value? expectedCount,
}) {
  final $result = create();
  if (query != null) {
    $result.query = query;
  }
  if (documents != null) {
    $result.documents = documents;
  }
  if (resumeToken != null) {
    $result.resumeToken = resumeToken;
  }
  if (targetId != null) {
    $result.targetId = targetId;
  }
  if (once != null) {
    $result.once = once;
  }
  if (readTime != null) {
    $result.readTime = readTime;
  }
  if (expectedCount != null) {
    $result.expectedCount = expectedCount;
  }
  return $result;
}