updateInitializedStatus method

bool updateInitializedStatus({
  1. required bool status,
})

Updates the initialization status of the UIKit Core.

The status parameter indicates the new initialization status. Returns the updated initialization status.

Implementation

bool updateInitializedStatus({
  required bool status,
}) {
  _hasInitialized = status;

  console(logs: "Init Status Changed. Current Status Is $status");

  notifyListener(TencentCloudChatBasicDataKeys.hasInitialized as T);

  return _hasInitialized;
}