VinculumConfig constructor

const VinculumConfig({
  1. required String baseUrl,
  2. String? authServiceUrl,
  3. String? databaseServiceUrl,
  4. String? storageServiceUrl,
  5. String? realtimeServiceUrl,
  6. Duration timeout = const Duration(seconds: 30),
  7. Duration connectTimeout = const Duration(seconds: 10),
  8. bool enableLogging = false,
  9. Level logLevel = Level.INFO,
  10. int maxRetries = 3,
  11. Duration retryDelay = const Duration(seconds: 1),
  12. bool enableAutoRefresh = true,
  13. Map<String, String> headers = const {},
})

Creates a new VinculumConfig

Implementation

const VinculumConfig({
  required this.baseUrl,
  this.authServiceUrl,
  this.databaseServiceUrl,
  this.storageServiceUrl,
  this.realtimeServiceUrl,
  this.timeout = const Duration(seconds: 30),
  this.connectTimeout = const Duration(seconds: 10),
  this.enableLogging = false,
  this.logLevel = Level.INFO,
  this.maxRetries = 3,
  this.retryDelay = const Duration(seconds: 1),
  this.enableAutoRefresh = true,
  this.headers = const {},
});