addAnchor method

Future<bool?> addAnchor(
  1. ARAnchor anchor
)

Add given anchor to the underlying AR scene

Implementation

Future<bool?> addAnchor(ARAnchor anchor) async {
  try {
    return await _channel.invokeMethod<bool>('addAnchor', anchor.toJson());
  } on PlatformException catch (e) {
    return false;
  }
}