getProjectEmail method

Future<ProjectEmailAddress> getProjectEmail(
  1. int projectId
)

Returns the project's sender email address.

Permissions required: Browse projects project permission for the project.

Implementation

Future<ProjectEmailAddress> getProjectEmail(int projectId) async {
  return ProjectEmailAddress.fromJson(await _client.send(
    'get',
    'rest/api/3/project/{projectId}/email',
    pathParameters: {
      'projectId': '$projectId',
    },
  ));
}