ChatConfig constructor

const ChatConfig({
  1. required String databasePath,
  2. String? encryptionKey,
  3. bool enableLogging = false,
  4. int maxRetryAttempts = 10,
  5. Duration heartbeatInterval = const Duration(seconds: 30),
  6. Duration syncInterval = const Duration(minutes: 5),
})

Create basic configuration.

Implementation

const ChatConfig({
  required this.databasePath,
  this.encryptionKey,
  this.enableLogging = false,
  this.maxRetryAttempts = 10,
  this.heartbeatInterval = const Duration(seconds: 30),
  this.syncInterval = const Duration(minutes: 5),
});