UpdateDocumentRequest constructor
UpdateDocumentRequest({
- Document? document,
- DocumentMask? updateMask,
- DocumentMask? mask,
- Precondition? currentDocument,
Implementation
factory UpdateDocumentRequest({
$1.Document? document,
$3.DocumentMask? updateMask,
$3.DocumentMask? mask,
$3.Precondition? currentDocument,
}) {
final $result = create();
if (document != null) {
$result.document = document;
}
if (updateMask != null) {
$result.updateMask = updateMask;
}
if (mask != null) {
$result.mask = mask;
}
if (currentDocument != null) {
$result.currentDocument = currentDocument;
}
return $result;
}