BatchGetDocumentsRequest constructor
BatchGetDocumentsRequest({
- String? database,
- Iterable<
String> ? documents, - DocumentMask? mask,
- List<
int> ? transaction, - TransactionOptions? newTransaction,
- Timestamp? readTime,
Implementation
factory BatchGetDocumentsRequest({
$core.String? database,
$core.Iterable<$core.String>? documents,
$3.DocumentMask? mask,
$core.List<$core.int>? transaction,
$3.TransactionOptions? newTransaction,
$4.Timestamp? readTime,
}) {
final $result = create();
if (database != null) {
$result.database = database;
}
if (documents != null) {
$result.documents.addAll(documents);
}
if (mask != null) {
$result.mask = mask;
}
if (transaction != null) {
$result.transaction = transaction;
}
if (newTransaction != null) {
$result.newTransaction = newTransaction;
}
if (readTime != null) {
$result.readTime = readTime;
}
return $result;
}