addArCoreNodeWithAnchor method

Future<void> addArCoreNodeWithAnchor(
  1. ArCoreNode node, {
  2. String? parentNodeName,
})

Implementation

Future<void> addArCoreNodeWithAnchor(ArCoreNode node,
    {String? parentNodeName}) {
  final params = _addParentNodeNameToParams(node.toMap(), parentNodeName);
  if (debug ?? true) {
    print(params.toString());
  }
  _addListeners(node);
  if (debug ?? true) {
    print('---------_CALLING addArCoreNodeWithAnchor : $params');
  }
  return _channel.invokeMethod('addArCoreNodeWithAnchor', params);
}