VinculumConfig constructor
const
VinculumConfig({
- required String baseUrl,
- String? authServiceUrl,
- String? databaseServiceUrl,
- String? storageServiceUrl,
- String? realtimeServiceUrl,
- Duration timeout = const Duration(seconds: 30),
- Duration connectTimeout = const Duration(seconds: 10),
- bool enableLogging = false,
- Level logLevel = Level.INFO,
- int maxRetries = 3,
- Duration retryDelay = const Duration(seconds: 1),
- bool enableAutoRefresh = true,
- 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 {},
});