ListProjectGrantsResponse constructor

ListProjectGrantsResponse({
  1. PaginationResponse? pagination,
  2. Iterable<ProjectGrant>? projectGrants,
})

Implementation

factory ListProjectGrantsResponse({
  $3.PaginationResponse? pagination,
  $core.Iterable<$2.ProjectGrant>? projectGrants,
}) {
  final result = create();
  if (pagination != null) result.pagination = pagination;
  if (projectGrants != null) result.projectGrants.addAll(projectGrants);
  return result;
}