unpackPoint method

List<String> unpackPoint(
  1. String compressedPoint
)

Implementation

List<String> unpackPoint(String compressedPoint) {
  final pointPtr = compressedPoint.toNativeUtf8();
  final resultPtr = _unpackPoint(pointPtr);
  final result = resultPtr.toDartString();
  //print("- 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.split(",");
}