EMContactManager constructor

EMContactManager()

Implementation

EMContactManager() {
  Client.instance.contactManager.updateNativeHandler((MethodCall call) async {
    EMLog.d("${call.method}: arguments: ${call.arguments}");
    Map? argMap = call.arguments;
    if (call.method == ChatMethodKeys.onContactChanged) {
      return _onContactChanged(argMap!);
    }
  });
}