geVoiceDir method

String? geVoiceDir()

Implementation

String? geVoiceDir() {
  String? result;
  var pathPointer = calloc<Int8>(260);
  openjtalkGetVoiceDir(this, pathPointer);
  if (pathPointer != nullptr) {
    result = pathPointer.cast<Utf8>().toDartString();
  }
  calloc.free(pathPointer);
  return result;
}