deleteProject static method
Implementation
static Future<Map<String, Object?>> deleteProject(
final Client cloudApiClient, {
required final String projectId,
}) async {
try {
await cloudApiClient.projects.deleteProject(cloudProjectId: projectId);
} on Exception catch (e, s) {
throw FailureException.nested(
e,
s,
'Request to delete the project failed',
);
}
return {'projectId': projectId};
}