build method

Map build()

Builds a map from the properties of a ChatBuilder instance.

This method converts the configuration settings of a chat builder into a map, making it easier to access and manipulate the chat configuration settings.

@return A map representing the configuration of the chat builder.

Implementation

Map build() {
  return {
    "domainBaseUrl": domainBaseUrl,
    "storageFolderName": storageFolderName,
    "iOSContainerID": iOSContainerID,
    "licenseKey": licenseKey,
    "enableMobileNumberLogin": enableMobileNumberLogin,
    "isTrialLicenceKey": isTrialLicenceKey,
    "chatHistoryEnable": chatHistoryEnable,
    // "maximumRecentChatPin":maximumRecentChatPin,
    // "groupConfig":groupConfig.build(),
    // "useProfileName":useProfileName,
    // "ivKey":ivKey,
    "enableDebugLog": enableDebugLog,
  };
}