packPoint method

String packPoint(
  1. String pointX,
  2. String pointY
)

Implementation

String packPoint(String pointX, String pointY) {
  //if (lib == null) return "ERROR: The library is not initialized";

  final ptrX = pointX.toNativeUtf8();
  final ptrY = pointY.toNativeUtf8();
  final resultPtr = _packPoint(ptrX, ptrY);
  final result = resultPtr.toDartString();
  //debugPrint("- Response string:  $result");
  // Free the string pointer, as we already have
  // an owned String to return
  //print("- Freeing the native char*");
  cstringFree(resultPtr);
  return result;
}