ChatBuilder constructor

ChatBuilder({
  1. required String domainBaseUrl,
  2. String? storageFolderName,
  3. required String iOSContainerID,
  4. required String licenseKey,
  5. bool enableMobileNumberLogin = false,
  6. bool isTrialLicenceKey = true,
  7. bool? chatHistoryEnable,
  8. bool enableDebugLog = false,
})

A builder class for creating chat configurations.

This class allows for the configuration of various chat-related settings, including the base URL for API calls, storage options, and authentication details. It supports enabling or disabling features such as mobile number login, chat history, and debug logging.

Implementation

ChatBuilder(
    {required this.domainBaseUrl,
    this.storageFolderName,
    required this.iOSContainerID,
    required this.licenseKey,
    this.enableMobileNumberLogin = false,
    this.isTrialLicenceKey = true,
    this.chatHistoryEnable,
    // this.maximumRecentChatPin,
    // this.groupConfig,
    // bool useProfileName = false,
    // this.ivKey,
    this.enableDebugLog = false});