EMPresenceManager constructor

EMPresenceManager()

Implementation

EMPresenceManager() {
  _channel.setMethodCallHandler((MethodCall call) async {
    Map? argMap = call.arguments;
    if (call.method == ChatMethodKeys.onPresenceStatusChanged) {
      return _presenceChange(argMap!);
    }
    return null;
  });
}