SyncPoints constructor

SyncPoints({
  1. String? collectionName,
  2. bool? wait,
  3. Iterable<PointStruct>? points,
  4. PointId? fromId,
  5. PointId? toId,
  6. 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;
}