ListOperationsResponse constructor

ListOperationsResponse({
  1. Iterable<Operation>? operations,
  2. String? nextPageToken,
})

Implementation

factory ListOperationsResponse({
  $core.Iterable<Operation>? operations,
  $core.String? nextPageToken,
}) {
  final $result = create();
  if (operations != null) {
    $result.operations.addAll(operations);
  }
  if (nextPageToken != null) {
    $result.nextPageToken = nextPageToken;
  }
  return $result;
}