PartitionQueryResponse constructor

PartitionQueryResponse({
  1. Iterable<Cursor>? partitions,
  2. String? nextPageToken,
})

Implementation

factory PartitionQueryResponse({
  $core.Iterable<$6.Cursor>? partitions,
  $core.String? nextPageToken,
}) {
  final $result = create();
  if (partitions != null) {
    $result.partitions.addAll(partitions);
  }
  if (nextPageToken != null) {
    $result.nextPageToken = nextPageToken;
  }
  return $result;
}