ContentSafetyServiceConfiguration.foundry constructor

const ContentSafetyServiceConfiguration.foundry({
  1. required Uri endpoint,
  2. required String apiKey,
  3. int timeoutInSeconds = 120,
})

Creates a configuration for a non-Hub-based Foundry project.

Implementation

const ContentSafetyServiceConfiguration.foundry({
  required Uri this.endpoint,
  required this.apiKey,
  this.timeoutInSeconds = 120,
})  : subscriptionId = null,
      resourceGroupName = null,
      projectName = null;