ChatUserInfoManager constructor

ChatUserInfoManager()

Implementation

ChatUserInfoManager() {
  platform_interface.Client.instance.userInfoManager
      .updateNativeHandler((MethodCall call) async {
    ChatLog.d("${call.method}: arguments: ${call.arguments}");
    Map? argMap = call.arguments;
    if (call.method == ChatMethodKeys.onUserInfoChanged) {
      return _onUserInfoChanged(argMap!);
    }
  });
}