CommitResponse constructor
CommitResponse({
- Iterable<
WriteResult> ? writeResults, - Timestamp? commitTime,
Implementation
factory CommitResponse({
$core.Iterable<$5.WriteResult>? writeResults,
$4.Timestamp? commitTime,
}) {
final $result = create();
if (writeResults != null) {
$result.writeResults.addAll(writeResults);
}
if (commitTime != null) {
$result.commitTime = commitTime;
}
return $result;
}