getParent method
PhidgetHandle
getParent()
Implementation
bindings.PhidgetHandle getParent() {
final pParent = calloc<bindings.PhidgetHandle>();
try {
bindings.phidgetGetParent(_internalHandle!, pParent);
return pParent.value;
} catch (e) {
throw PhidgetException("An error occurred getting parent $e");
} finally {
calloc.free(pParent);
}
}