getImSdkKey static method

Future<String?> getImSdkKey()

设置 im Sdk key

Implementation

static Future<String?> getImSdkKey() async {
  if (imSdkKey.value == null) {
    String? imSdkKeyInCatch = await getCatch('imSdkKey');
    if (imSdkKeyInCatch != null) {
      imSdkKey.value = imSdkKeyInCatch;
    }
  }
  return imSdkKey.value;
}