fetchProjectInfo method

Future<ProjectInfo> fetchProjectInfo({
  1. required String cloudProjectId,
  2. bool? includeLatestDeployAttemptTime,
})

Fetches the specified project. Its user roles are included in the response.

Implementation

_i2.Future<_i4.ProjectInfo> fetchProjectInfo({
  required String cloudProjectId,
  bool? includeLatestDeployAttemptTime,
}) => caller
    .callServerEndpoint<_i4.ProjectInfo>('projects', 'fetchProjectInfo', {
      'cloudProjectId': cloudProjectId,
      'includeLatestDeployAttemptTime': includeLatestDeployAttemptTime,
    });