DSIntelliToggleConfig.development constructor

DSIntelliToggleConfig.development({
  1. Uri? baseUri,
  2. Duration? timeout,
})

Development preset configuration.

Implementation

factory DSIntelliToggleConfig.development({
  Uri? baseUri,
  Duration? timeout,
}) {
  return DSIntelliToggleConfig(
    baseUri: baseUri ?? Uri.parse('http://localhost:8080'),
    timeout: timeout ?? const Duration(seconds: 5),
    enablePolling: true,
    pollingInterval: const Duration(minutes: 1),
    enableStreaming: false,
    maxRetries: 1,
    enableLogging: true,
  );
}