setImSdkKey static method

void setImSdkKey(
  1. String? sdkKey
)

设置 im Sdk key

Implementation

static void setImSdkKey(String? sdkKey) {
  imSdkKey.value = sdkKey;

  if (sdkKey != null) {
    setCatch('imSdkKey', sdkKey);
  } else {
    removeCatch('imSdkKey');
  }
}