build method

Map build()

Builds a map from the properties of an InitializeSDKBuilder instance.

This method converts the configuration settings of the SDK initialization process into a map, facilitating easier access and manipulation of these settings. The map includes keys for storage folder name, iOS container ID, license key, mobile number login enablement, chat history enablement, debug log enablement, and private storage enablement.

@return A map representing the configuration settings of the SDK initialization process.

Implementation

Map build() {
  return {
    "storageFolderName": storageFolderName,
    "iOSContainerID": iOSContainerID,
    "licenseKey": licenseKey,
    "enableMobileNumberLogin": enableMobileNumberLogin,
    "chatHistoryEnable": chatHistoryEnable,
    "enableDebugLog": enableDebugLog,
    "enablePrivateStorage": enablePrivateStorage,
  };
}