SyncPoints constructor
SyncPoints({
- String? collectionName,
- bool? wait,
- Iterable<
PointStruct> ? points, - PointId? fromId,
- PointId? toId,
- WriteOrdering? ordering,
Implementation
factory SyncPoints({
$core.String? collectionName,
$core.bool? wait,
$core.Iterable<$4.PointStruct>? points,
$4.PointId? fromId,
$4.PointId? toId,
$4.WriteOrdering? ordering,
}) {
final $result = create();
if (collectionName != null) {
$result.collectionName = collectionName;
}
if (wait != null) {
$result.wait = wait;
}
if (points != null) {
$result.points.addAll(points);
}
if (fromId != null) {
$result.fromId = fromId;
}
if (toId != null) {
$result.toId = toId;
}
if (ordering != null) {
$result.ordering = ordering;
}
return $result;
}