SettingsJson constructor

const SettingsJson({
  1. String? model,
  2. PermissionSettings permissions = const PermissionSettings(),
  3. SandboxSettings sandbox = const SandboxSettings(),
  4. Map<String, dynamic>? hooks,
  5. List<String> installedPlugins = const [],
  6. Map<String, String> environmentVariables = const {},
  7. Map<String, String> modelOverrides = const {},
  8. List<String> availableModels = const [],
  9. bool allowManagedPermissionRulesOnly = false,
  10. bool syntaxHighlightingEnabled = true,
  11. String? theme,
  12. String? outputStyle,
  13. Map<String, dynamic> raw = const {},
})

Implementation

const SettingsJson({
  this.model,
  this.permissions = const PermissionSettings(),
  this.sandbox = const SandboxSettings(),
  this.hooks,
  this.installedPlugins = const [],
  this.environmentVariables = const {},
  this.modelOverrides = const {},
  this.availableModels = const [],
  this.allowManagedPermissionRulesOnly = false,
  this.syntaxHighlightingEnabled = true,
  this.theme,
  this.outputStyle,
  this.raw = const {},
});