toggleFeatureForProject method
Future<ContainerForProjectFeatures>
toggleFeatureForProject({
- required String projectIdOrKey,
- required String featureKey,
- required ProjectFeatureState body,
Sets the state of a project feature.
Implementation
Future<ContainerForProjectFeatures> toggleFeatureForProject(
{required String projectIdOrKey,
required String featureKey,
required ProjectFeatureState body}) async {
return ContainerForProjectFeatures.fromJson(await _client.send(
'put',
'rest/api/3/project/{projectIdOrKey}/features/{featureKey}',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
'featureKey': featureKey,
},
body: body.toJson(),
));
}