ChatConfig constructor

ChatConfig({
  1. required int appId,
  2. required String appKey,
  3. required String accountKey,
  4. AndroidConfig? androidConfig,
  5. IosConfig? iosConfig,
})

Implementation

ChatConfig({
  required this.appId,
  required this.appKey,
  required this.accountKey,
  // this.environment = Environment.dev,
  this.androidConfig,
  this.iosConfig,
}) {
  androidConfig ??= AndroidConfig();
  iosConfig ??= IosConfig();
}