WriteResponse constructor
WriteResponse({})
Implementation
factory WriteResponse({
$core.String? streamId,
$core.List<$core.int>? streamToken,
$core.Iterable<$5.WriteResult>? writeResults,
$4.Timestamp? commitTime,
}) {
final $result = create();
if (streamId != null) {
$result.streamId = streamId;
}
if (streamToken != null) {
$result.streamToken = streamToken;
}
if (writeResults != null) {
$result.writeResults.addAll(writeResults);
}
if (commitTime != null) {
$result.commitTime = commitTime;
}
return $result;
}