unsetBuildSecret static method
Implementation
static Future<Map<String, Object?>> unsetBuildSecret(
final Client cloudApiClient, {
required final String projectId,
required final String name,
}) async {
try {
await cloudApiClient.secrets.deleteBuild(
cloudCapsuleId: projectId,
key: name,
);
} on Exception catch (e, s) {
throw FailureException.nested(e, s, 'Failed to remove the build secret');
}
return {'name': name};
}