Target constructor
Target({
- Target_QueryTarget? query,
- Target_DocumentsTarget? documents,
- List<
int> ? resumeToken, - int? targetId,
- bool? once,
- Timestamp? readTime,
- 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;
}