getIsAttached method
Implementation
bool getIsAttached() {
final pAttached = calloc<Int32>();
try {
bindings.phidgetGetAttached(_internalHandle!, pAttached);
return pAttached.value == 1;
} catch (e) {
throw PhidgetException(
"An error occurred checking if phidget is attached $e");
} finally {
calloc.free(pAttached);
}
}