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;
}