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